Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - A question about the derivation of intermediate sum field for decimal average aggregates


Copy link to this message
-
RE: A question about the derivation of intermediate sum field for decimal average aggregates
Remus Rusanu 2014-02-15, 08:55
Sure, sounds good. But why +10, why not extend to max? p=38 for the intermediate sum, with whatever original scale. This way, if it does overflow, we did best effort to prevent it.