SnappyData allows the schema for global temporary views to be optional so this method adds it to TableIdentifier if required so that super methods can be invoked directly.
SnappyData allows the schema for global temporary views to be optional so this method adds it to TableIdentifier if required so that super methods can be invoked directly.
Can be used to temporarily switch the metadata returned by catalog to use CharType and VarcharTypes.
Can be used to temporarily switch the metadata returned by catalog to use CharType and VarcharTypes. Is to be used for only temporary change by a caller that wishes the consume the result because rest of Spark cannot deal with those types.
Test only method
Drop all the objects in a schema.
Drop all the objects in a schema. The provided schema must already be formatted with a call to formatDatabaseName.
Format schema name.
Format schema name. Hive meta-store is case-insensitive so always convert to upper case.
Format table name.
Format table name. Hive meta-store is case-insensitive so always convert to upper case.
API to get primary key or Key Columns of a SnappyData table
API to get primary key or Key Columns of a SnappyData table
Return an Expression that represents the specified function, assuming it exists.
Return an Expression that represents the specified function, assuming it exists.
For a temporary function or a permanent function that has been loaded, this method will simply lookup the function through the FunctionRegistry and create an expression based on the builder.
For a permanent function that has not been loaded, we will first fetch its metadata
from the underlying external catalog. Then, we will load all resources associated
with this function (i.e. jars and files). Finally, we create a function builder
based on the function class and put the builder into the FunctionRegistry.
The name of this function in the FunctionRegistry will be databaseName.functionName
.
Lookup relation and resolve to a LogicalRelation if not a temporary view.
Lookup relation and resolve to a LogicalRelation if not a temporary view.
Add schema to TableIdentifier if missing and format the name.
::DeveloperApi:: Catalog using Hive for persistence and adding Snappy extensions like stream/topK tables and returning LogicalPlan to materialize these entities.