package hive
Support for running Spark SQL queries using functionality from Apache Hive (does not require an existing Hive installation). Supported Hive features include:
- Using HiveQL to express queries.
- Reading metadata from the Hive Metastore using HiveSerDes.
- Hive UDFs, UDAs, UDTs
Note that this is a private package. All classes in this package are considered an internal API to Spark and are subject to change between minor releases.
- Alphabetic
- By Inheritance
- hive
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class DetermineTableStats extends Rule[LogicalPlan]
- class HiveSessionResourceLoader extends SessionResourceLoader
- class HiveSessionStateBuilder extends BaseSessionStateBuilder
Builder that produces a Hive-aware
SessionState. - case class HiveUDAFBuffer(buf: AggregationBuffer, canDoMerge: Boolean) extends Product with Serializable
- case class RelationConversions(sessionCatalog: HiveSessionCatalog) extends Rule[LogicalPlan] with Product with Serializable
Relation conversion from metastore relations to data source relations for better performance
Relation conversion from metastore relations to data source relations for better performance
- When writing to non-partitioned Hive-serde Parquet/Orc tables - When scanning Hive-serde Parquet/ORC tables
This rule must be run before all other DDL post-hoc resolution rules, i.e.
PreprocessTableCreation,PreprocessTableInsertion,DataSourceAnalysisandHiveAnalysis. - class ResolveHiveSerdeTable extends Rule[LogicalPlan]
Determine the database, serde/format and schema of the Hive serde table, according to the storage properties.
Deprecated Type Members
- class HiveContext extends SQLContext with Logging
An instance of the Spark SQL execution engine that integrates with data stored in Hive.
An instance of the Spark SQL execution engine that integrates with data stored in Hive. Configuration for Hive is read from hive-site.xml on the classpath.
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) Use SparkSession.builder.enableHiveSupport instead
Value Members
- object HiveAnalysis extends Rule[LogicalPlan]
Replaces generic operations with specific variants that are designed to work with Hive.
Replaces generic operations with specific variants that are designed to work with Hive.
Note that, this rule must be run after
PreprocessTableCreationandPreprocessTableInsertion. - object HiveExternalCatalog