Package org.apache.hadoop.hive.metastore.api

Examples of org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest


    // Fetch result of the analyze table partition (p1=c1).. compute statistics for columns ..
    // Construct a column statistics object from the result
    List<ColumnStatistics> colStats = constructColumnStatsFromPackedRows();
    // Persist the column statistics object to the metastore
    db.setPartitionColumnStatistics(new SetPartitionsStatsRequest(colStats));
    return 0;
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.