メインコンテンツまでスキップ

INVALID_FLOW_QUERY_TYPE error condition

SQLSTATE: 42000

Flow <flowIdentifier> returns an invalid relation type.

BATCH_RELATION_FOR_STREAMING_TABLE

streaming tables may only be defined by streaming relations, but the flow <flowIdentifier> attempts to write a batch relation to the streaming table <tableIdentifier>. Consider using the STREAM operator in Spark-SQL to convert the batch relation into a streaming relation, or populating the streaming table with an append once-flow instead.

STREAMING_RELATION_FOR_MATERIALIZED_VIEW

materialized views may only be defined by a batch relation, but the flow <flowIdentifier> attempts to write a streaming relation to the materialized view <tableIdentifier>.

STREAMING_RELATION_FOR_ONCE_FLOW

<flowIdentifier> is an append once-flow that is defined by a streaming relation. Append once-flows may only be defined by or return a batch relation.

STREAMING_RELATION_FOR_PERSISTED_VIEW

Persisted views may only be defined by a batch relation, but the flow <flowIdentifier> attempts to write a streaming relation to the persisted view <viewIdentifier>.