sparkSession.sessionState.catalog
SessionCatalog
SessionCatalog is a proxy between SparkSession and the underlying metastore, e.g. HiveSessionCatalog.
You can access the SessionCatalog for a SparkSession through SessionState.
alterTempViewDefinition Method
alterTempViewDefinition(name: TableIdentifier, viewDefinition: LogicalPlan): Boolean
alterTempViewDefinition alters the temporary view by updating an in-memory temporary table (when a database is not specified and the table has already been registered) or a global temporary table (when a database is specified and it is for global temporary tables).
|
Note
|
"Temporary table" and "temporary view" are synonyms. |
alterTempViewDefinition returns true when an update could be executed and finished successfully.
createTempView Method
|
Caution
|
FIXME |
createGlobalTempView Method
|
Caution
|
FIXME |
createTable Method
|
Caution
|
FIXME |
alterTable Method
|
Caution
|
FIXME |