public class HiveOnTezCostModel extends HiveCostModel
Modifier and Type | Class and Description |
---|---|
static class |
HiveOnTezCostModel.TezBucketJoinAlgorithm
BUCKET_JOIN is a hash joins where one bucket of the non streaming tables
is kept in memory at the time.
|
static class |
HiveOnTezCostModel.TezCommonJoinAlgorithm
COMMON_JOIN is Sort Merge Join.
|
static class |
HiveOnTezCostModel.TezMapJoinAlgorithm
MAP_JOIN a hash join that keeps the whole data set of non streaming tables
in memory.
|
static class |
HiveOnTezCostModel.TezSMBJoinAlgorithm
SMB_JOIN is a Sort Merge Join.
|
HiveCostModel.JoinAlgorithm
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.plan.RelOptCost |
getAggregateCost(HiveAggregate aggregate) |
static HiveOnTezCostModel |
getCostModel(HiveConf conf) |
org.apache.calcite.plan.RelOptCost |
getDefaultCost() |
org.apache.calcite.plan.RelOptCost |
getScanCost(HiveTableScan ts,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
getJoinCost
public static HiveOnTezCostModel getCostModel(HiveConf conf)
public org.apache.calcite.plan.RelOptCost getDefaultCost()
getDefaultCost
in class HiveCostModel
public org.apache.calcite.plan.RelOptCost getScanCost(HiveTableScan ts, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
getScanCost
in class HiveCostModel
public org.apache.calcite.plan.RelOptCost getAggregateCost(HiveAggregate aggregate)
getAggregateCost
in class HiveCostModel
Copyright © 2022 The Apache Software Foundation. All rights reserved.