public enum ErrorMsg extends Enum<ErrorMsg>
getMsg(String) and INVALID_TABLE.| Modifier and Type | Method and Description |
|---|---|
static String |
findSQLState(String mesg)
For a given error message string, searches for a
ErrorMsg enum
that appears to be a match. |
String |
format(String... reasons)
If the message is parametrized, this will fill the parameters with supplied
reasons, otherwise reasons are appended at the end of the
message. |
String |
format(String reason) |
int |
getErrorCode() |
String |
getErrorCodedMsg() |
String |
getErrorCodedMsg(String... reasons) |
static Pattern |
getErrorCodePattern() |
static ErrorMsg |
getErrorMsg(Exception e)
Given a remote runtime exception, returns the ErrorMsg object associated with it.
|
static ErrorMsg |
getErrorMsg(int errorCode)
Given an error code, returns the ErrorMsg object associated with it.
|
static ErrorMsg |
getErrorMsg(String mesg)
Given an error message string, returns the ErrorMsg object associated with it.
|
String |
getMsg() |
String |
getMsg(ASTNode tree) |
String |
getMsg(ASTNode tree,
String reason) |
String |
getMsg(String reason) |
String |
getMsg(org.antlr.runtime.tree.Tree tree) |
String |
getMsg(org.antlr.runtime.tree.Tree tree,
String reason) |
String |
getSQLState() |
static String |
getText(ASTNode tree) |
static void |
renderOrigin(StringBuilder sb,
ASTNodeOrigin origin) |
static String |
renderPosition(ASTNode n) |
static ErrorMsg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorMsg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorMsg GENERIC_ERROR
public static final ErrorMsg INVALID_TABLE
public static final ErrorMsg INVALID_COLUMN
public static final ErrorMsg INVALID_TABLE_OR_COLUMN
public static final ErrorMsg AMBIGUOUS_TABLE_OR_COLUMN
public static final ErrorMsg INVALID_PARTITION
public static final ErrorMsg AMBIGUOUS_COLUMN
public static final ErrorMsg AMBIGUOUS_TABLE_ALIAS
public static final ErrorMsg INVALID_TABLE_ALIAS
public static final ErrorMsg NO_TABLE_ALIAS
public static final ErrorMsg INVALID_FUNCTION
public static final ErrorMsg INVALID_FUNCTION_SIGNATURE
public static final ErrorMsg INVALID_OPERATOR_SIGNATURE
public static final ErrorMsg INVALID_ARGUMENT
public static final ErrorMsg INVALID_ARGUMENT_LENGTH
public static final ErrorMsg INVALID_ARGUMENT_TYPE
@Deprecated public static final ErrorMsg INVALID_JOIN_CONDITION_1
@Deprecated public static final ErrorMsg INVALID_JOIN_CONDITION_2
@Deprecated public static final ErrorMsg INVALID_JOIN_CONDITION_3
public static final ErrorMsg INVALID_TRANSFORM
public static final ErrorMsg UNSUPPORTED_MULTIPLE_DISTINCTS
public static final ErrorMsg NO_SUBQUERY_ALIAS
public static final ErrorMsg NO_INSERT_INSUBQUERY
public static final ErrorMsg NON_KEY_EXPR_IN_GROUPBY
public static final ErrorMsg INVALID_XPATH
public static final ErrorMsg INVALID_PATH
public static final ErrorMsg ILLEGAL_PATH
public static final ErrorMsg INVALID_NUMERICAL_CONSTANT
public static final ErrorMsg INVALID_ARRAYINDEX_TYPE
public static final ErrorMsg INVALID_MAPINDEX_CONSTANT
public static final ErrorMsg INVALID_MAPINDEX_TYPE
public static final ErrorMsg NON_COLLECTION_TYPE
public static final ErrorMsg SELECT_DISTINCT_WITH_GROUPBY
public static final ErrorMsg COLUMN_REPEATED_IN_PARTITIONING_COLS
public static final ErrorMsg DUPLICATE_COLUMN_NAMES
public static final ErrorMsg INVALID_BUCKET_NUMBER
public static final ErrorMsg COLUMN_REPEATED_IN_CLUSTER_SORT
public static final ErrorMsg SAMPLE_RESTRICTION
public static final ErrorMsg SAMPLE_COLUMN_NOT_FOUND
public static final ErrorMsg NO_PARTITION_PREDICATE
public static final ErrorMsg INVALID_DOT
public static final ErrorMsg INVALID_TBL_DDL_SERDE
public static final ErrorMsg TARGET_TABLE_COLUMN_MISMATCH
public static final ErrorMsg TABLE_ALIAS_NOT_ALLOWED
public static final ErrorMsg CLUSTERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg ORDERBY_DISTRIBUTEBY_CONFLICT
public static final ErrorMsg CLUSTERBY_SORTBY_CONFLICT
public static final ErrorMsg ORDERBY_SORTBY_CONFLICT
public static final ErrorMsg CLUSTERBY_ORDERBY_CONFLICT
public static final ErrorMsg NO_LIMIT_WITH_ORDERBY
public static final ErrorMsg UNION_NOTIN_SUBQ
public static final ErrorMsg INVALID_INPUT_FORMAT_TYPE
public static final ErrorMsg INVALID_OUTPUT_FORMAT_TYPE
public static final ErrorMsg NO_VALID_PARTN
public static final ErrorMsg NO_OUTER_MAPJOIN
public static final ErrorMsg INVALID_MAPJOIN_HINT
public static final ErrorMsg INVALID_MAPJOIN_TABLE
public static final ErrorMsg NON_BUCKETED_TABLE
public static final ErrorMsg BUCKETED_NUMERATOR_BIGGER_DENOMINATOR
public static final ErrorMsg NEED_PARTITION_ERROR
public static final ErrorMsg CTAS_CTLT_COEXISTENCE
public static final ErrorMsg LINES_TERMINATED_BY_NON_NEWLINE
public static final ErrorMsg CTAS_COLLST_COEXISTENCE
public static final ErrorMsg CTLT_COLLST_COEXISTENCE
public static final ErrorMsg INVALID_SELECT_SCHEMA
public static final ErrorMsg CTAS_PARCOL_COEXISTENCE
public static final ErrorMsg CTAS_MULTI_LOADFILE
public static final ErrorMsg CTAS_EXTTBL_COEXISTENCE
public static final ErrorMsg INSERT_EXTERNAL_TABLE
public static final ErrorMsg DATABASE_NOT_EXISTS
public static final ErrorMsg TABLE_ALREADY_EXISTS
public static final ErrorMsg COLUMN_ALIAS_ALREADY_EXISTS
public static final ErrorMsg UDTF_MULTIPLE_EXPR
@Deprecated public static final ErrorMsg UDTF_REQUIRE_AS
public static final ErrorMsg UDTF_NO_GROUP_BY
public static final ErrorMsg UDTF_NO_SORT_BY
public static final ErrorMsg UDTF_NO_CLUSTER_BY
public static final ErrorMsg UDTF_NO_DISTRIBUTE_BY
public static final ErrorMsg UDTF_INVALID_LOCATION
public static final ErrorMsg UDTF_LATERAL_VIEW
public static final ErrorMsg UDTF_ALIAS_MISMATCH
public static final ErrorMsg UDF_STATEFUL_INVALID_LOCATION
public static final ErrorMsg LATERAL_VIEW_WITH_JOIN
public static final ErrorMsg LATERAL_VIEW_INVALID_CHILD
public static final ErrorMsg OUTPUT_SPECIFIED_MULTIPLE_TIMES
public static final ErrorMsg INVALID_AS
public static final ErrorMsg VIEW_COL_MISMATCH
public static final ErrorMsg DML_AGAINST_VIEW
public static final ErrorMsg ANALYZE_VIEW
public static final ErrorMsg VIEW_PARTITION_TOTAL
public static final ErrorMsg VIEW_PARTITION_MISMATCH
public static final ErrorMsg PARTITION_DYN_STA_ORDER
public static final ErrorMsg DYNAMIC_PARTITION_DISABLED
public static final ErrorMsg DYNAMIC_PARTITION_STRICT_MODE
public static final ErrorMsg NONEXISTPARTCOL
public static final ErrorMsg UNSUPPORTED_TYPE
public static final ErrorMsg CREATE_NON_NATIVE_AS
public static final ErrorMsg LOAD_INTO_NON_NATIVE
public static final ErrorMsg LOCKMGR_NOT_SPECIFIED
public static final ErrorMsg LOCKMGR_NOT_INITIALIZED
public static final ErrorMsg LOCK_CANNOT_BE_ACQUIRED
public static final ErrorMsg ZOOKEEPER_CLIENT_COULD_NOT_BE_INITIALIZED
public static final ErrorMsg OVERWRITE_ARCHIVED_PART
public static final ErrorMsg ARCHIVE_METHODS_DISABLED
public static final ErrorMsg ARCHIVE_ON_MULI_PARTS
public static final ErrorMsg UNARCHIVE_ON_MULI_PARTS
public static final ErrorMsg ARCHIVE_ON_TABLE
public static final ErrorMsg RESERVED_PART_VAL
public static final ErrorMsg OFFLINE_TABLE_OR_PARTITION
public static final ErrorMsg NEED_PARTITION_SPECIFICATION
public static final ErrorMsg INVALID_METADATA
public static final ErrorMsg NEED_TABLE_SPECIFICATION
public static final ErrorMsg PARTITION_EXISTS
public static final ErrorMsg TABLE_DATA_EXISTS
public static final ErrorMsg INCOMPATIBLE_SCHEMA
public static final ErrorMsg EXIM_FOR_NON_NATIVE
public static final ErrorMsg INSERT_INTO_BUCKETIZED_TABLE
public static final ErrorMsg PARTSPEC_DIFFER_FROM_SCHEMA
public static final ErrorMsg PARTITION_COLUMN_NON_PRIMITIVE
public static final ErrorMsg INSERT_INTO_DYNAMICPARTITION_IFNOTEXISTS
public static final ErrorMsg UDAF_INVALID_LOCATION
public static final ErrorMsg DROP_PARTITION_NON_STRING_PARTCOLS_NONEQUALITY
public static final ErrorMsg ALTER_COMMAND_FOR_VIEWS
public static final ErrorMsg ALTER_COMMAND_FOR_TABLES
public static final ErrorMsg ALTER_VIEW_DISALLOWED_OP
public static final ErrorMsg ALTER_TABLE_NON_NATIVE
public static final ErrorMsg SORTMERGE_MAPJOIN_FAILED
public static final ErrorMsg BUCKET_MAPJOIN_NOT_POSSIBLE
public static final ErrorMsg BUCKETED_TABLE_METADATA_INCORRECT
public static final ErrorMsg JOINNODE_OUTERJOIN_MORETHAN_16
public static final ErrorMsg INVALID_JDO_FILTER_EXPRESSION
public static final ErrorMsg ALTER_BUCKETNUM_NONBUCKETIZED_TBL
public static final ErrorMsg TRUNCATE_FOR_NON_MANAGED_TABLE
public static final ErrorMsg TRUNCATE_FOR_NON_NATIVE_TABLE
public static final ErrorMsg PARTSPEC_FOR_NON_PARTITIONED_TABLE
public static final ErrorMsg INVALID_TABLE_IN_ON_CLAUSE_OF_MERGE
public static final ErrorMsg LOAD_INTO_STORED_AS_DIR
public static final ErrorMsg ALTER_TBL_STOREDASDIR_NOT_SKEWED
public static final ErrorMsg ALTER_TBL_SKEWED_LOC_NO_LOC
public static final ErrorMsg ALTER_TBL_SKEWED_LOC_NO_MAP
public static final ErrorMsg SKEWED_TABLE_NO_COLUMN_NAME
public static final ErrorMsg SKEWED_TABLE_NO_COLUMN_VALUE
public static final ErrorMsg SKEWED_TABLE_DUPLICATE_COLUMN_NAMES
public static final ErrorMsg SKEWED_TABLE_INVALID_COLUMN
public static final ErrorMsg SKEWED_TABLE_SKEWED_COL_NAME_VALUE_MISMATCH_1
public static final ErrorMsg SKEWED_TABLE_SKEWED_COL_NAME_VALUE_MISMATCH_2
public static final ErrorMsg SKEWED_TABLE_SKEWED_COL_NAME_VALUE_MISMATCH_3
public static final ErrorMsg ALTER_TABLE_NOT_ALLOWED_RENAME_SKEWED_COLUMN
public static final ErrorMsg HIVE_GROUPING_SETS_AGGR_NOMAPAGGR
public static final ErrorMsg HIVE_GROUPING_SETS_AGGR_EXPRESSION_INVALID
public static final ErrorMsg HIVE_GROUPING_SETS_EMPTY
public static final ErrorMsg HIVE_UNION_REMOVE_OPTIMIZATION_NEEDS_SUBDIRECTORIES
public static final ErrorMsg HIVE_GROUPING_SETS_EXPR_NOT_IN_GROUPBY
public static final ErrorMsg INVALID_PARTITION_SPEC
public static final ErrorMsg ALTER_TBL_UNSET_NON_EXIST_PROPERTY
public static final ErrorMsg ALTER_VIEW_AS_SELECT_NOT_EXIST
public static final ErrorMsg REPLACE_VIEW_WITH_PARTITION
public static final ErrorMsg EXISTING_TABLE_IS_NOT_VIEW
public static final ErrorMsg NO_SUPPORTED_ORDERBY_ALLCOLREF_POS
public static final ErrorMsg INVALID_POSITION_ALIAS_IN_GROUPBY
public static final ErrorMsg INVALID_POSITION_ALIAS_IN_ORDERBY
public static final ErrorMsg HIVE_GROUPING_SETS_THRESHOLD_NOT_ALLOWED_WITH_SKEW
public static final ErrorMsg HIVE_GROUPING_SETS_THRESHOLD_NOT_ALLOWED_WITH_DISTINCTS
public static final ErrorMsg OPERATOR_NOT_ALLOWED_WITH_MAPJOIN
public static final ErrorMsg ANALYZE_TABLE_NOSCAN_NON_NATIVE
public static final ErrorMsg PARTITION_VALUE_NOT_CONTINUOUS
public static final ErrorMsg TABLES_INCOMPATIBLE_SCHEMAS
public static final ErrorMsg EXCHANGE_PARTITION_NOT_ALLOWED_WITH_TRANSACTIONAL_TABLES
public static final ErrorMsg TRUNCATE_COLUMN_NOT_RC
public static final ErrorMsg TRUNCATE_COLUMN_ARCHIVED
public static final ErrorMsg TRUNCATE_BUCKETED_COLUMN
public static final ErrorMsg TRUNCATE_LIST_BUCKETED_COLUMN
public static final ErrorMsg TABLE_NOT_PARTITIONED
public static final ErrorMsg DATABSAE_ALREADY_EXISTS
public static final ErrorMsg CANNOT_REPLACE_COLUMNS
public static final ErrorMsg BAD_LOCATION_VALUE
public static final ErrorMsg UNSUPPORTED_ALTER_TBL_OP
public static final ErrorMsg INVALID_BIGTABLE_MAPJOIN
public static final ErrorMsg MISSING_OVER_CLAUSE
public static final ErrorMsg PARTITION_SPEC_TYPE_MISMATCH
public static final ErrorMsg UNSUPPORTED_SUBQUERY_EXPRESSION
public static final ErrorMsg INVALID_SUBQUERY_EXPRESSION
public static final ErrorMsg INVALID_HDFS_URI
public static final ErrorMsg INVALID_DIR
public static final ErrorMsg NO_VALID_LOCATIONS
public static final ErrorMsg UNSUPPORTED_AUTHORIZATION_PRINCIPAL_TYPE_GROUP
public static final ErrorMsg INVALID_TABLE_NAME
public static final ErrorMsg INSERT_INTO_IMMUTABLE_TABLE
public static final ErrorMsg UNSUPPORTED_AUTHORIZATION_RESOURCE_TYPE_GLOBAL
public static final ErrorMsg UNSUPPORTED_AUTHORIZATION_RESOURCE_TYPE_COLUMN
public static final ErrorMsg TXNMGR_NOT_SPECIFIED
public static final ErrorMsg TXNMGR_NOT_INSTANTIATED
public static final ErrorMsg TXN_NO_SUCH_TRANSACTION
public static final ErrorMsg TXN_ABORTED
public static final ErrorMsg DBTXNMGR_REQUIRES_CONCURRENCY
public static final ErrorMsg TXNMGR_NOT_ACID
public static final ErrorMsg LOCK_NO_SUCH_LOCK
public static final ErrorMsg LOCK_REQUEST_UNSUPPORTED
public static final ErrorMsg METASTORE_COMMUNICATION_FAILED
public static final ErrorMsg METASTORE_COULD_NOT_INITIATE
public static final ErrorMsg INVALID_COMPACTION_TYPE
public static final ErrorMsg NO_COMPACTION_PARTITION
public static final ErrorMsg TOO_MANY_COMPACTION_PARTITIONS
public static final ErrorMsg DISTINCT_NOT_SUPPORTED
public static final ErrorMsg NONACID_COMPACTION_NOT_SUPPORTED
public static final ErrorMsg MASKING_FILTERING_ON_ACID_NOT_SUPPORTED
public static final ErrorMsg UPDATEDELETE_PARSE_ERROR
public static final ErrorMsg UPDATEDELETE_IO_ERROR
public static final ErrorMsg UPDATE_CANNOT_UPDATE_PART_VALUE
public static final ErrorMsg INSERT_CANNOT_CREATE_TEMP_FILE
public static final ErrorMsg ACID_OP_ON_NONACID_TXNMGR
public static final ErrorMsg VALUES_TABLE_CONSTRUCTOR_NOT_SUPPORTED
public static final ErrorMsg ACID_OP_ON_NONACID_TABLE
public static final ErrorMsg ACID_NO_SORTED_BUCKETS
public static final ErrorMsg ALTER_TABLE_TYPE_PARTIAL_PARTITION_SPEC_NO_SUPPORTED
public static final ErrorMsg ALTER_TABLE_PARTITION_CASCADE_NOT_SUPPORTED
public static final ErrorMsg DROP_NATIVE_FUNCTION
public static final ErrorMsg UPDATE_CANNOT_UPDATE_BUCKET_VALUE
public static final ErrorMsg IMPORT_INTO_STRICT_REPL_TABLE
public static final ErrorMsg CTAS_LOCATION_NONEMPTY
public static final ErrorMsg CTAS_CREATES_VOID_TYPE
public static final ErrorMsg TBL_SORTED_NOT_BUCKETED
public static final ErrorMsg LOCK_ACQUIRE_TIMEDOUT
public static final ErrorMsg COMPILE_LOCK_TIMED_OUT
public static final ErrorMsg CANNOT_CHANGE_SERDE
public static final ErrorMsg CANNOT_CHANGE_FILEFORMAT
public static final ErrorMsg CANNOT_REORDER_COLUMNS
public static final ErrorMsg CANNOT_CHANGE_COLUMN_TYPE
public static final ErrorMsg REPLACE_CANNOT_DROP_COLUMNS
public static final ErrorMsg REPLACE_UNSUPPORTED_TYPE_CONVERSION
public static final ErrorMsg HIVE_GROUPING_SETS_AGGR_NOMAPAGGR_MULTIGBY
public static final ErrorMsg CANNOT_RETRIEVE_TABLE_METADATA
public static final ErrorMsg INVALID_AST_TREE
public static final ErrorMsg ERROR_SERIALIZE_METASTORE
public static final ErrorMsg IO_ERROR
public static final ErrorMsg ERROR_SERIALIZE_METADATA
public static final ErrorMsg INVALID_LOAD_TABLE_FILE_WORK
public static final ErrorMsg CLASSPATH_ERROR
public static final ErrorMsg IMPORT_SEMANTIC_ERROR
public static final ErrorMsg INVALID_FK_SYNTAX
public static final ErrorMsg INVALID_CSTR_SYNTAX
public static final ErrorMsg ACID_NOT_ENOUGH_HISTORY
public static final ErrorMsg INVALID_COLUMN_NAME
public static final ErrorMsg UNSUPPORTED_SET_OPERATOR
public static final ErrorMsg LOCK_ACQUIRE_CANCELLED
public static final ErrorMsg NOT_RECOGNIZED_CONSTRAINT
public static final ErrorMsg INVALID_CONSTRAINT
public static final ErrorMsg REPLACE_VIEW_WITH_MATERIALIZED
public static final ErrorMsg REPLACE_MATERIALIZED_WITH_VIEW
public static final ErrorMsg UPDATE_DELETE_VIEW
public static final ErrorMsg MATERIALIZED_VIEW_DEF_EMPTY
public static final ErrorMsg MERGE_PREDIACTE_REQUIRED
public static final ErrorMsg MERGE_TOO_MANY_DELETE
public static final ErrorMsg MERGE_TOO_MANY_UPDATE
public static final ErrorMsg INVALID_JOIN_CONDITION
public static final ErrorMsg INVALID_TARGET_COLUMN_IN_SET_CLAUSE
public static final ErrorMsg HIVE_GROUPING_FUNCTION_EXPR_NOT_IN_GROUPBY
public static final ErrorMsg ALTER_TABLE_NON_PARTITIONED_TABLE_CASCADE_NOT_SUPPORTED
public static final ErrorMsg HIVE_GROUPING_SETS_SIZE_LIMIT
public static final ErrorMsg REBUILD_NO_MATERIALIZED_VIEW
public static final ErrorMsg LOAD_DATA_ACID_FILE
public static final ErrorMsg ACID_OP_ON_INSERTONLYTRAN_TABLE
public static final ErrorMsg LOAD_DATA_LAUNCH_JOB_IO_ERROR
public static final ErrorMsg LOAD_DATA_LAUNCH_JOB_PARSE_ERROR
public static final ErrorMsg SCRIPT_INIT_ERROR
public static final ErrorMsg SCRIPT_IO_ERROR
public static final ErrorMsg SCRIPT_GENERIC_ERROR
public static final ErrorMsg SCRIPT_CLOSING_ERROR
public static final ErrorMsg DYNAMIC_PARTITIONS_TOO_MANY_PER_NODE_ERROR
public static final ErrorMsg OP_NOT_ALLOWED_IN_IMPLICIT_TXN
JavaUtils.txnIdToString(long) to formatpublic static final ErrorMsg OP_NOT_ALLOWED_IN_TXN
JavaUtils.txnIdToString(long) to formatpublic static final ErrorMsg OP_NOT_ALLOWED_WITHOUT_TXN
public static final ErrorMsg ACCESS_DENIED
public static final ErrorMsg QUOTA_EXCEEDED
public static final ErrorMsg UNRESOLVED_PATH
public static final ErrorMsg FILE_NOT_FOUND
public static final ErrorMsg WRONG_FILE_FORMAT
public static final ErrorMsg SPARK_CREATE_CLIENT_INVALID_QUEUE
public static final ErrorMsg SPARK_RUNTIME_OOM
public static final ErrorMsg REPL_EVENTS_MISSING_IN_METASTORE
public static final ErrorMsg REPL_BOOTSTRAP_LOAD_PATH_NOT_VALID
public static final ErrorMsg REPL_FILE_MISSING_FROM_SRC_AND_CM_PATH
public static final ErrorMsg REPL_LOAD_PATH_NOT_FOUND
public static final ErrorMsg REPL_DATABASE_IS_NOT_SOURCE_OF_REPLICATION
public static final ErrorMsg UNRESOLVED_RT_EXCEPTION
public static final ErrorMsg STATSPUBLISHER_NOT_OBTAINED
public static final ErrorMsg STATSPUBLISHER_INITIALIZATION_ERROR
public static final ErrorMsg STATSPUBLISHER_CONNECTION_ERROR
public static final ErrorMsg STATSPUBLISHER_PUBLISHING_ERROR
public static final ErrorMsg STATSPUBLISHER_CLOSING_ERROR
public static final ErrorMsg COLUMNSTATSCOLLECTOR_INVALID_PART_KEY
public static final ErrorMsg COLUMNSTATSCOLLECTOR_INVALID_PARTITION
public static final ErrorMsg COLUMNSTATSCOLLECTOR_PARSE_ERROR
public static final ErrorMsg COLUMNSTATSCOLLECTOR_IO_ERROR
public static final ErrorMsg DROP_COMMAND_NOT_ALLOWED_FOR_PARTITION
public static final ErrorMsg COLUMNSTATSCOLLECTOR_INVALID_COLUMN
public static final ErrorMsg STATSAGGREGATOR_SOURCETASK_NULL
public static final ErrorMsg STATSAGGREGATOR_CONNECTION_ERROR
public static final ErrorMsg STATS_SKIPPING_BY_ERROR
public static final ErrorMsg INVALID_FILE_FORMAT_IN_LOAD
public static final ErrorMsg SCHEMA_REQUIRED_TO_READ_ACID_TABLES
public static final ErrorMsg ACID_TABLES_MUST_BE_READ_WITH_ACID_READER
public static final ErrorMsg ACID_TABLES_MUST_BE_READ_WITH_HIVEINPUTFORMAT
public static final ErrorMsg ACID_LOAD_DATA_INVALID_FILE_NAME
public static final ErrorMsg CONCATENATE_UNSUPPORTED_FILE_FORMAT
public static final ErrorMsg CONCATENATE_UNSUPPORTED_TABLE_BUCKETED
public static final ErrorMsg CONCATENATE_UNSUPPORTED_PARTITION_ARCHIVED
public static final ErrorMsg CONCATENATE_UNSUPPORTED_TABLE_NON_NATIVE
public static final ErrorMsg CONCATENATE_UNSUPPORTED_TABLE_NOT_MANAGED
public static final ErrorMsg CONCATENATE_UNSUPPORTED_TABLE_TRANSACTIONAL
public static final ErrorMsg SPARK_GET_JOB_INFO_TIMEOUT
public static final ErrorMsg SPARK_JOB_MONITOR_TIMEOUT
public static final ErrorMsg SPARK_CREATE_CLIENT_TIMEOUT
public static final ErrorMsg SPARK_CREATE_CLIENT_QUEUE_FULL
public static final ErrorMsg SPARK_CREATE_CLIENT_INTERRUPTED
public static final ErrorMsg SPARK_CREATE_CLIENT_ERROR
public static final ErrorMsg SPARK_CREATE_CLIENT_INVALID_RESOURCE_REQUEST
public static final ErrorMsg SPARK_CREATE_CLIENT_CLOSED_SESSION
public static final ErrorMsg SPARK_JOB_INTERRUPTED
public static final ErrorMsg REPL_FILE_SYSTEM_OPERATION_RETRY
public static final ErrorMsg SPARK_JOB_RUNTIME_ERROR
public static ErrorMsg[] values()
for (ErrorMsg c : ErrorMsg.values()) System.out.println(c);
public static ErrorMsg valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ErrorMsg getErrorMsg(Exception e)
e - An exceptionpublic static ErrorMsg getErrorMsg(String mesg)
mesg - An error message stringpublic static ErrorMsg getErrorMsg(int errorCode)
errorCode - An error codepublic static String findSQLState(String mesg)
ErrorMsg enum
that appears to be a match. If a match is found, returns the
SQLState associated with the ErrorMsg. If a match
is not found or ErrorMsg has no SQLState, returns
the SQLState bound to the GENERIC_ERROR
ErrorMsg.mesg - An error message stringpublic static void renderOrigin(StringBuilder sb, ASTNodeOrigin origin)
public String getMsg(org.antlr.runtime.tree.Tree tree)
public String format(String... reasons)
reasons, otherwise reasons are appended at the end of the
message.public String getErrorCodedMsg()
public static Pattern getErrorCodePattern()
public String getMsg()
public String getSQLState()
public int getErrorCode()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.