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

Switch to Threaded View
Hive >> mail # dev >> Review Request 25047: further improve the columns stats update speed for all the partitions of a table


Copy link to this message
-
Re: Review Request 25047: further improve the columns stats update speed for all the partitions of a table

This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25047/#review51782

metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
<https://reviews.apache.org/r/25047/#comment90383>

    You want to persist the object regardless whether it exists or not. Its update (if found) or insert scenario (if not found).
    So, Why do you need to retrieve MPartitionColumnStatistics?

metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
<https://reviews.apache.org/r/25047/#comment90385>

    We want to update stats object in such case too. Will that be the case here ?

metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java
<https://reviews.apache.org/r/25047/#comment90386>

    Nested transactions are never a good idea. You are already in a txn, no need to create another one.
- Ashutosh Chauhan
On Aug. 27, 2014, 10:56 p.m., pengcheng xiong wrote: