CreateTempViewUsing Logical Command¶
CreateTempViewUsing is a LeafRunnableCommand that represents the following SQL statement at execution:
CREATE (OR REPLACE)? GLOBAL? TEMPORARY VIEW
tableIdentifier ('(' colTypeList ')')?
USING multipartIdentifier
(OPTIONS propertyList)?
Creating Instance¶
CreateTempViewUsing takes the following to be created:
-
TableIdentifier - User-Specified Schema
-
replaceflag -
globalflag - Provider Name
- Options
CreateTempViewUsing is created when:
SparkSqlAstBuilderis requested to parse CREATE TEMPORARY TABLE USING (deprecated) and CREATE TEMPORARY VIEW statements