Caches the specified table in-memory.
Caches the specified table in-memory.
2.0.0
Removes all cached tables from the in-memory cache.
Removes all cached tables from the in-memory cache.
2.0.0
:: Experimental :: (Scala-specific) Create an external table from the given path based on a data source, a schema and a set of options.
:: Experimental :: (Scala-specific) Create an external table from the given path based on a data source, a schema and a set of options. Then, returns the corresponding DataFrame.
2.0.0
:: Experimental :: Create an external table from the given path based on a data source, a schema and a set of options.
:: Experimental :: Create an external table from the given path based on a data source, a schema and a set of options. Then, returns the corresponding DataFrame.
2.0.0
:: Experimental :: (Scala-specific) Creates an external table from the given path based on a data source and a set of options.
:: Experimental :: (Scala-specific) Creates an external table from the given path based on a data source and a set of options. Then, returns the corresponding DataFrame.
2.0.0
:: Experimental :: Creates an external table from the given path based on a data source and a set of options.
:: Experimental :: Creates an external table from the given path based on a data source and a set of options. Then, returns the corresponding DataFrame.
2.0.0
:: Experimental :: Creates an external table from the given path based on a data source and returns the corresponding DataFrame.
:: Experimental :: Creates an external table from the given path based on a data source and returns the corresponding DataFrame.
2.0.0
:: Experimental :: Creates an external table from the given path and returns the corresponding DataFrame.
:: Experimental :: Creates an external table from the given path and returns the corresponding DataFrame. It will use the default data source configured by spark.sql.sources.default.
2.0.0
Returns the current default database in this session.
Returns the current default database in this session.
Check if the database with the specified name exists.
Check if the database with the specified name exists.
Drops the global temporary view with the given view name in the catalog.
Drops the global temporary view with the given view name in the catalog. If the view has been cached/persisted before, it's also unpersisted.
the name of the view to be dropped.
true if the view is dropped successfully, false otherwise.
2.1.0
Drops the local temporary view with the given view name in the catalog.
Drops the local temporary view with the given view name in the catalog. If the view has been cached/persisted before, it's also unpersisted.
the name of the view to be dropped.
true if the view is dropped successfully, false otherwise.
2.0.0
Check if the function with the specified name exists in the specified database.
Check if the function with the specified name exists in the specified database.
Check if the function with the specified name exists.
Check if the function with the specified name exists. This can either be a temporary function or a function in the current database.
Get the database with the specified name.
Get the database with the specified name. This throws an AnalysisException
when no
Database
can be found.
Get the function with the specified name.
Get the function with the specified name. This returns None
when no Function
can be
found.
Get the function with the specified name.
Get the function with the specified name. This function can be a temporary function or a
function in the current database. This throws an AnalysisException
when no Function
can be found.
Get the table or view with the specified name in the specified database.
Get the table or view with the specified name in the specified database. This throws an
AnalysisException
when no Table
can be found.
Get the table or view with the specified name.
Get the table or view with the specified name. This table can be a temporary view or a
table/view in the current database. This throws an AnalysisException
when no Table
can be found.
Returns true if the Dataset is currently cached in-memory.
Returns true if the Dataset is currently cached in-memory.
2.0.0
Returns true if the table is currently cached in-memory.
Returns true if the table is currently cached in-memory.
2.0.0
Returns a list of columns for the given table in the specified database.
Returns a list of columns for the given table in the specified database.
Returns a list of columns for the given table in the current database.
Returns a list of columns for the given table in the current database.
Returns a list of databases available across all sessions.
Returns a list of databases available across all sessions.
Returns a list of functions registered in the specified database.
Returns a list of functions registered in the specified database. This includes all temporary functions
Returns a list of functions registered in the current database.
Returns a list of functions registered in the current database. This includes all temporary functions
Returns a list of tables in the specified database.
Returns a list of tables in the specified database. This includes all temporary tables.
Returns a list of tables in the current database.
Returns a list of tables in the current database. This includes all temporary tables.
Recover all the partitions in the directory of a table and update the catalog.
Recover all the partitions in the directory of a table and update the catalog.
the name of the table to be repaired.
2.1.1
Refresh the cache entry and the associated metadata for all dataframes (if any), that contain the given data source path.
Refresh the cache entry and the associated metadata for all dataframes (if any), that contain the given data source path.
2.0.0
Refresh the cache entry for a table, if any.
Refresh the cache entry for a table, if any. For Hive metastore table, the metadata is refreshed. For data source tables, the schema will not be inferred and refreshed.
2.0.0
Sets the current default database in this session.
Sets the current default database in this session.
Check if the table or view with the specified name exists in the specified database.
Check if the table or view with the specified name exists in the specified database.
Check if the table or view with the specified name exists.
Check if the table or view with the specified name exists. This can either be a temporary view or a table/view in the current database.
Removes the specified table from the in-memory cache.
Removes the specified table from the in-memory cache.
2.0.0
Internal implementation of the user-facing
Catalog
.