Package | Description |
---|---|
org.apache.hadoop.hive.ql | |
org.apache.hadoop.hive.ql.optimizer.calcite | |
org.apache.hadoop.hive.ql.parse | |
org.apache.hadoop.hive.ql.stats |
Modifier and Type | Method and Description |
---|---|
Map<String,ColumnStatsList> |
CompilationOpContext.getColStatsCache() |
Constructor and Description |
---|
RelOptHiveTable(org.apache.calcite.plan.RelOptSchema calciteSchema,
String qualifiedTblName,
org.apache.calcite.rel.type.RelDataType rowType,
Table hiveTblMetadata,
List<ColumnInfo> hiveNonPartitionCols,
List<ColumnInfo> hivePartitionCols,
List<VirtualColumn> hiveVirtualCols,
HiveConf hconf,
Map<String,PrunedPartitionList> partitionCache,
Map<String,ColumnStatsList> colStatsCache,
AtomicInteger noColsMissingStats) |
Modifier and Type | Method and Description |
---|---|
ColumnStatsList |
ParseContext.getColStatsCached(PrunedPartitionList partList) |
Modifier and Type | Method and Description |
---|---|
Map<String,ColumnStatsList> |
ParseContext.getColStatsCache() |
Modifier and Type | Method and Description |
---|---|
static Statistics |
StatsUtils.collectStatistics(HiveConf conf,
PrunedPartitionList partList,
ColumnStatsList colStatsCache,
Table table,
TableScanOperator tableScanOperator)
Collect table, partition and column level statistics
|
static Statistics |
StatsUtils.collectStatistics(HiveConf conf,
PrunedPartitionList partList,
Table table,
List<ColumnInfo> schema,
List<String> neededColumns,
ColumnStatsList colStatsCache,
List<String> referencedColumns,
boolean fetchColStats) |
static List<ColStatistics> |
StatsUtils.getTableColumnStats(Table table,
List<ColumnInfo> schema,
List<String> neededColumns,
ColumnStatsList colStatsCache)
Get table level column statistics from metastore for needed columns
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.