HiveSessionStateBuilder — Builder of Hive-Specific SessionState
HiveSessionStateBuilder
is a concrete builder to produce a Hive-aware SessionState for…FIXME
HiveSessionStateBuilder
comes with Hive-specific Analyzer, SparkPlanner, HiveSessionCatalog, HiveExternalCatalog and HiveSessionResourceLoader.
HiveSessionStateBuilder
is created (using newBuilder) 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
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 |
---|---|
|
Replaces HiveTableRelation logical operators with HiveTableScanExec physical operators |
|
Logical Query Plan Analyzer with Hive-Specific Rules — analyzer
Property
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 |
---|---|
Creating HiveSessionStateBuilder Instance
HiveSessionStateBuilder
takes the following when created:
-
Optional SessionState (default:
None
)
Builder Function to Create HiveSessionStateBuilder — newBuilder
Method
newBuilder: (SparkSession, Option[SessionState]) => BaseSessionStateBuilder
Note
|
newBuilder is part of BaseSessionStateBuilder contract to…FIXME.
|
newBuilder
…FIXME