HiveSessionStateBuilder — Builder of Hive-Specific SessionState
HiveSessionStateBuilder is a BaseSessionStateBuilder that has Hive-specific Analyzer, SparkPlanner, HiveSessionCatalog, HiveExternalCatalog and HiveSessionResourceLoader.
HiveSessionStateBuilder is created (using newBuilder) exclusively when…FIXME
| Name | Description | ||
|---|---|---|---|
|
Hive-specific logical query plan analyzer with the Hive-specific rules. |
|||
|
|
HiveSessionCatalog with the following:
Used to create Hive-specific Analyzer and a RelationConversions logical evaluation rule (as part of Hive-Specific Analyzer’s PostHoc Resolution Rules) |
||
|
|
|||
|
|
SparkPlanner with Hive-Specific Strategies — planner Property
|
1 2 3 4 5 |
planner: SparkPlanner |
|
Note
|
planner is part of BaseSessionStateBuilder Contract to create a query planner.
|
planner is a SparkPlanner with…FIXME
planner uses the Hive-specific strategies.
| Strategy | Description |
|---|---|
Logical Query Plan Analyzer with Hive-Specific Rules — analyzer Property
|
1 2 3 4 5 |
analyzer: Analyzer |
|
Note
|
analyzer is part of BaseSessionStateBuilder Contract to create a logical query plan analyzer.
|
analyzer is a Analyzer with Hive-specific SessionCatalog (and SQLConf).
analyzer uses the Hive-specific extended resolution, postHoc resolution and extended check rules.
| Logical Rule | Description |
|---|---|
| Logical Rule | Description |
|---|---|
| Logical Rule | Description |
|---|---|
Builder Function to Create HiveSessionStateBuilder — newBuilder Factory Method
|
1 2 3 4 5 |
newBuilder: NewBuilder |
|
Note
|
newBuilder is part of BaseSessionStateBuilder Contract to…FIXME.
|
newBuilder…FIXME
Creating HiveSessionStateBuilder Instance
HiveSessionStateBuilder takes the following when created:
-
Optional SessionState (
Noneby default)
spark技术分享