แชร์ผ่าน


CONNECT_INVALID_PLAN error condition

SQLSTATE: 56K00

The Spark Connect plan is invalid.

AGGREGATE_NEEDS_PLAN_INPUT

Aggregate needs a plan input

AGGREGATE_WITH_PIVOT_REQUIRES_PIVOT

Aggregate with GROUP_TYPE_PIVOT requires a Pivot

ALIAS_WITH_MULTIPLE_IDENTIFIERS_AND_METADATA

Alias expressions with more than 1 identifier must not use optional metadata.

ARRAY_LITERAL_MISSING_DATA_TYPE

Data type information is missing in the array literal.

ARRAY_LITERAL_NOT_SET

Array literal is not set.

ASSERTION_FAILURE

<message>

CANNOT_FIND_CACHED_LOCAL_RELATION

Cannot find a cached local relation for hash: <hash>

CANNOT_PARSE

Cannot decompress or parse the input plan (<errorMsg>)

CHUNKED_CACHED_LOCAL_RELATION_WITHOUT_DATA

ChunkedCachedLocalRelation should contain data.

DATAFRAME_NOT_FOUND

No DataFrame with id <dfId> is found in the session <sessionId>

DATA_TYPE_UNSUPPORTED_CATALYST_TO_PROTO

Does not support convert <typeName> to connect proto types.

DATA_TYPE_UNSUPPORTED_PROTO_TO_CATALYST

Does not support convert <kindCase> to catalyst types.

DEDUPLICATE_ALL_COLUMNS_AND_SUBSET

Cannot deduplicate on both all columns and a subset of columns

DEDUPLICATE_NEEDS_INPUT

Deduplicate needs a plan input

DEDUPLICATE_REQUIRES_COLUMNS_OR_ALL

Deduplicate requires to either deduplicate on all columns or a subset of columns

EXCEPT_DOES_NOT_SUPPORT_UNION_BY_NAME

Except does not support union_by_name

EXPECTED_NULL_VALUE

Expected null value, but got <literalTypeCase>

EXPECTING_SCALA_UDF

Expecting a Scala UDF, but get <exprType>

FIELD_CANNOT_BE_EMPTY

<fieldName> in <fullName> cannot be empty

FUNCTION_EVAL_TYPE_NOT_SUPPORTED

Function with EvalType: <evalType> is not supported

GROUPING_EXPRESSION_ABSENT

The grouping expression cannot be absent for KeyValueGroupedDataset

INCOMPATIBLE_LITERAL_DATA_TYPE

Incompatible data type <dataTypeKindCase> for literal <literalTypeCase>

INPUT_DATA_NO_SCHEMA

Input data for LocalRelation does not produce a schema.

INTERSECT_DOES_NOT_SUPPORT_UNION_BY_NAME

Intersect does not support union_by_name

INVALID_ENUM

This enum value of <fullName> is invalid: <name>(<number>)

INVALID_JDBC_PARAMS

Invalid jdbc params, please specify jdbc url and table.

INVALID_ONE_OF_FIELD_NOT_SET

This oneOf field in <fullName> is not set: <name>

INVALID_ONE_OF_FIELD_NOT_SUPPORTED

This oneOf field message in <fullName> is not supported: <name>(<number>)

INVALID_SCHEMA_NON_STRUCT_TYPE

The input schema <inputSchema> is not a struct type, but got <dataType>.

INVALID_SQL_WITH_REFERENCES

<query> is not a valid relation for SQL with references

INVALID_WITH_RELATION_REFERENCE

Invalid WithRelation reference

LAMBDA_FUNCTION_ARGUMENT_COUNT_INVALID

LambdaFunction requires 1 ~ 3 arguments, but got <got> ones!

LOCAL_RELATION_CHUNK_SIZE_LIMIT_EXCEEDED

One of cached local relation chunks exceeded the limit of <limit> bytes.

LOCAL_RELATION_SIZE_LIMIT_EXCEEDED

Cached local relation size (<actualSize> bytes) exceeds the limit (<limit> bytes).

LOWER_BOUND_REQUIRED_IN_WINDOW_FRAME

LowerBound is required in WindowFrame

MAP_LITERAL_MISSING_DATA_TYPE

Data type information is missing in the map literal.

MAP_LITERAL_NOT_SET

Map literal is not set.

MULTIPLE_PATHS_NOT_SUPPORTED_FOR_STREAMING_SOURCE

Multiple paths are not supported for streaming source

NA_FILL_VALUES_EMPTY

values must contains at least 1 item!

NA_FILL_VALUES_LENGTH_MISMATCH

When values contains more than 1 items, values and cols should have the same length!

NOT_FOUND_CACHED_LOCAL_RELATION

Not found any cached local relation with the hash: <hash> in the session with sessionUUID <sessionUUID>.

NOT_FOUND_CHUNKED_CACHED_LOCAL_RELATION

Not found chunked cached local relation block with the hash: <hash> in the session with sessionUUID <sessionUUID>.

NO_HANDLER_FOR_EXTENSION

No handler found for extension type: <extensionTypeUrl>

PLAN_SIZE_LARGER_THAN_MAX

The plan size is larger than max (<planSize> vs. <maxPlanSize>)

PREDICATES_NOT_SUPPORTED_FOR_DATA_SOURCE

Predicates are not supported for <format> data sources.

PYTHON_UDT_MISSING_FIELDS

PythonUserDefinedType requires all the three fields: python_class, serialized_python_class and sql_type.

REDUCE_SHOULD_CARRY_SCALAR_SCALA_UDF

reduce should carry a scalar scala udf, but got <got>

ROW_NOT_SUPPORTED_FOR_UDF

Row is not a supported <errorType> type for this UDF.

SCHEMA_REQUIRED_FOR_LOCAL_RELATION

Schema for LocalRelation is required when the input data is not provided.

SET_OPERATION_MUST_HAVE_TWO_INPUTS

Set operation must have 2 inputs

SQL_COMMAND_EXPECTS_SQL_OR_WITH_RELATIONS

SQL command expects either a SQL or a WithRelations, but got <other>

STREAMING_QUERY_NOT_FOUND

Streaming query <id> is not found

STREAMING_QUERY_RUN_ID_MISMATCH

Run id mismatch for query id <id>. Run id in the request <runId> does not match one on the server <serverRunId>. The query might have restarted.

STRUCT_LITERAL_MISSING_DATA_TYPE

Data type information is missing in the struct literal.

STRUCT_LITERAL_NOT_SET

Struct literal is not set.

UDT_TYPE_FIELD_INVALID

UserDefinedType requires the 'type' field to be 'udt', but got '<udtType>'.

UNION_BY_NAME_ALLOW_MISSING_COL_REQUIRES_BY_NAME

UnionByName allowMissingCol can be true only if byName is true.

UNKNOWN_ANALYZE_METHOD

Unknown Analyze Method <other>!

UNRESOLVED_COLUMN_AMONG_FIELD_NAMES

Cannot resolve column name "<colName>" among (<fieldNames>).

UNRESOLVED_NAMED_LAMBDA_VARIABLE_REQUIRES_NAME_PART

UnresolvedNamedLambdaVariable requires at least one name part!

UNRESOLVED_STAR_TARGET_INVALID

UnresolvedStar requires a unparsed target ending with '.*', but got <target>.

UNRESOLVED_STAR_WITH_BOTH_TARGET_AND_PLAN_ID

UnresolvedStar with both target and plan id is not supported.

UNSUPPORTED_LITERAL_TYPE

Unsupported Literal Type: <typeInfo>

UNSUPPORTED_USER_DEFINED_FUNCTION_IMPLEMENTATION

Unsupported UserDefinedFunction implementation: <clazz>

UPPER_BOUND_REQUIRED_IN_WINDOW_FRAME

UpperBound is required in WindowFrame

USING_COLUMNS_OR_JOIN_CONDITION_SET_IN_JOIN

Using columns or join conditions cannot be set at the same time in Join

WINDOW_FUNCTION_REQUIRED

WindowFunction is required in WindowExpression

WITH_COLUMNS_REQUIRE_SINGLE_NAME_PART

WithColumns require column name only contains one name part, but got <got>