public class SqlAddHivePartitions extends SqlAddPartitions
Hive syntax: ALTER TABLE table_name ADD [IF NOT EXISTS] PARTITION partition_spec [LOCATION 'location'][PARTITION partition_spec [LOCATION 'location']][...];
OPERATOR, partitionSpec, tableIdentifier
Constructor and Description |
---|
SqlAddHivePartitions(org.apache.calcite.sql.parser.SqlParserPos pos,
org.apache.calcite.sql.SqlIdentifier tableName,
boolean ifNotExists,
List<org.apache.calcite.sql.SqlNodeList> partSpecs,
List<org.apache.calcite.sql.SqlCharStringLiteral> partLocations) |
Modifier and Type | Method and Description |
---|---|
void |
unparse(org.apache.calcite.sql.SqlWriter writer,
int leftPrec,
int rightPrec) |
getOperandList, getPartitionKVs, getPartProps, getPartSpecs, ifNotExists
fullTableName, getOperator, getPartitionKVs, getPartitionSpec, getTableName
accept, clone, equalsDeep, findValidOptions, getCallSignature, getFunctionQuantifier, getKind, getMonotonicity, isCountStar, isExpanded, operand, operandCount, setOperand, validate
public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
unparse
in class SqlAddPartitions
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.