public class DDLSemanticAnalyzer extends BaseSemanticAnalyzer
BaseSemanticAnalyzer.AnalyzeRewriteContext, BaseSemanticAnalyzer.TableSpec
acidFileSinks, columnAccessInfo, conf, console, ctx, db, fetchTask, HIVE_COLUMN_ORDER_ASC, HIVE_COLUMN_ORDER_DESC, idToTableNameMap, inputs, linfo, outputs, queryProperties, rootTasks, STATIC_LOG, tableAccessInfo, updateColumnAccessInfo
Constructor and Description |
---|
DDLSemanticAnalyzer(HiveConf conf) |
DDLSemanticAnalyzer(HiveConf conf,
Hive db) |
Modifier and Type | Method and Description |
---|---|
void |
analyzeInternal(ASTNode input) |
static HashMap<String,String> |
getPartSpec(ASTNode partspec) |
static String |
getTypeName(ASTNode node) |
static HashMap<String,String> |
getValidatedPartSpec(Table table,
ASTNode astNode,
HiveConf conf,
boolean shouldBeFull) |
static boolean |
isFullSpec(Table table,
Map<String,String> partSpec) |
analyze, analyzeDDLSkewedValues, analyzeSkewedTablDDLColNames, analyzeStoredAdDirs, charSetString, constructListBucketingCtx, createHiveDB, escapeSQLString, getAcidFileSinks, getColumnAccessInfo, getColumnNames, getColumnNamesOrder, getColumns, getColumns, getDatabase, getDatabase, getDb, getDbTableNamePair, getDotName, getFetchTask, getIdToTableNameMap, getInputs, getLineageInfo, getOutputs, getPartition, getPartitions, getQualifiedTableName, getQueryProperties, getResultSchema, getRootTasks, getSkewedValueFromASTNode, getSkewedValuesFromASTNode, getTable, getTable, getTable, getTable, getTable, getTableAccessInfo, getTypeStringFromAST, getUnescapedName, getUnescapedName, getUnescapedUnqualifiedTableName, getUpdateColumnAccessInfo, init, initCtx, isValidPrefixSpec, readProps, reset, setColumnAccessInfo, setFetchTask, setLineageInfo, setTableAccessInfo, setUpdateColumnAccessInfo, skipAuthorization, stripIdentifierQuotes, stripQuotes, toMessage, toReadEntity, toReadEntity, toWriteEntity, toWriteEntity, unescapeIdentifier, unescapeSQLString, validate, validatePartColumnType, validatePartSpec
public DDLSemanticAnalyzer(HiveConf conf) throws SemanticException
SemanticException
public DDLSemanticAnalyzer(HiveConf conf, Hive db) throws SemanticException
SemanticException
public static String getTypeName(ASTNode node) throws SemanticException
SemanticException
public void analyzeInternal(ASTNode input) throws SemanticException
analyzeInternal
in class BaseSemanticAnalyzer
SemanticException
public static HashMap<String,String> getPartSpec(ASTNode partspec) throws SemanticException
SemanticException
public static HashMap<String,String> getValidatedPartSpec(Table table, ASTNode astNode, HiveConf conf, boolean shouldBeFull) throws SemanticException
SemanticException
Copyright © 2017 The Apache Software Foundation. All rights reserved.