public class HiveUtils
extends Object
Constructor and Description |
---|
HiveUtils() |
Modifier and Type | Method and Description |
---|---|
static |
CONVERT_METASTORE_ORC() |
static |
CONVERT_METASTORE_PARQUET_WITH_SCHEMA_MERGING() |
static |
CONVERT_METASTORE_PARQUET() |
static |
HIVE_EXECUTION_VERSION() |
static |
HIVE_METASTORE_BARRIER_PREFIXES() |
static |
HIVE_METASTORE_JARS() |
static |
HIVE_METASTORE_SHARED_PREFIXES() |
static |
HIVE_METASTORE_VERSION() |
static |
HIVE_THRIFT_SERVER_ASYNC() |
static String |
hiveExecutionVersion()
The version of hive used internally by Spark SQL.
|
static String |
hiveTypeString()
The property key that is used to store the raw hive type string in the metadata of StructField.
|
static scala.collection.immutable.Map<String,String> |
newTemporaryConfiguration(boolean useInMemoryDerby)
Constructs a configuration for hive, where the metastore is located in a temp directory.
|
static SparkContext |
withHiveExternalCatalog(SparkContext sc) |
public static SparkContext withHiveExternalCatalog(SparkContext sc)
public static String hiveExecutionVersion()
public static String hiveTypeString()
public staticHIVE_METASTORE_VERSION()
public staticHIVE_EXECUTION_VERSION()
public staticHIVE_METASTORE_JARS()
public staticCONVERT_METASTORE_PARQUET()
public staticCONVERT_METASTORE_PARQUET_WITH_SCHEMA_MERGING()
public staticCONVERT_METASTORE_ORC()
public staticHIVE_METASTORE_SHARED_PREFIXES()
public staticHIVE_METASTORE_BARRIER_PREFIXES()
public staticHIVE_THRIFT_SERVER_ASYNC()
public static scala.collection.immutable.Map<String,String> newTemporaryConfiguration(boolean useInMemoryDerby)