หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Streaming query evolution error:
ASYNC_PROGRESS_TRACKING_NOT_SUPPORTED
Streaming sink evolution cannot be used together with async progress tracking. Async progress tracking persists only V1 commit metadata and would silently drop the per-sink metadata that sink evolution requires. Disable one of the two: set spark.sql.streaming.queryEvolution.enableSinkEvolution to false, or set the option asyncProgressTrackingEnabled to false.
CANNOT_ENABLE_ON_EXISTING_CHECKPOINT
Cannot enable streaming source evolution on a checkpoint that was created without it. The existing checkpoint uses offset log format version <existingVersion>, which does not support the named source tracking required by streaming source evolution. To use source evolution, start the query with a fresh checkpoint.
CONTINUOUS_PROCESSING_NOT_SUPPORTED
Streaming sink evolution cannot be used together with continuous processing. Continuous processing persists only V1 commit metadata and would silently drop the per-sink metadata that sink evolution requires. Disable sink evolution by setting spark.sql.streaming.queryEvolution.enableSinkEvolution to false, or use a micro-batch trigger instead of Trigger.Continuous.
DUPLICATE_SOURCE_NAMES
Duplicate streaming source names detected: <duplicateNames>. Each streaming source must have a unique name. Please ensure all sources have distinct names using the name() method.
INVALID_SINK_NAME
Invalid streaming sink name: '<sinkName>'. Sink names must only contain ASCII letters ('a'-'z', 'A'-'Z'), digits ('0'-'9'), and underscores ('_').
INVALID_SOURCE_NAME
Invalid streaming source name: '<sourceName>'. Source names must only contain ASCII letters ('a'-'z', 'A'-'Z'), digits ('0'-'9'), and underscores ('_'). Use backticks to quote names with special characters if needed.
NAMED_SOURCES_REQUIRE_ENFORCEMENT
Cannot use the name() method to name streaming sources when spark.sql.streaming.queryEvolution.enableSourceEvolution is disabled. Please enable source evolution by setting spark.sql.streaming.queryEvolution.enableSourceEvolution to true, or remove the name() call.
NAMED_SOURCES_REQUIRE_OFFSET_LOG_V2
Named streaming sources enforcement requires offset log format V2 (OffsetMap), but found V<version>. V2 format uses sourceId:offset pairs which support source evolution. Set spark.sql.streaming.offsetLog.version to 2, or disable named sources enforcement by setting spark.sql.streaming.queryEvolution.enableSourceEvolution to false
NAMED_SOURCE_ON_VIEW
Cannot use the name() method on a view-backed streaming source. Found <sourceCount> source(s): <sourceNames>. Rewrite the streaming query to read from the underlying table source(s) directly and use IDENTIFIED BY to name them.
PRESERVED_OFFSETS_REQUIRE_EVOLUTION
Cannot preserve offsets of removed streaming sources for the checkpoint at <checkpointLocation> because named-source evolution is not enabled for it. <preservationKey> requires <evolutionKey>, and an existing checkpoint keeps the <evolutionKey> value it was created with. Disable <preservationKey> for this query, or start from a new checkpoint with <evolutionKey> set to true and every source named with name().
SINK_EVOLUTION_STATE_STORE_PROVIDER_NOT_SUPPORTED
The checkpoint at <checkpointLocation> does not use RocksDBStateStoreProvider, which is the only state store provider that supports sink evolution.
SINK_ID_REUSED
Cannot reuse sink name '<sinkId>' at checkpoint location <checkpointLocation>. This sink name was previously used and then replaced with a different sink. Reusing inactive sink names can lead to data correctness issues. To use a new sink, assign it a different name using the name() method on DataStreamWriter (for example, .name("my_new_sink")).
SINK_PROVIDER_MISMATCH
Cannot change sink provider for sink '<sinkId>' at checkpoint location <checkpointLocation>. The sink was previously using provider '<previousProvider>' but is now using '<currentProvider>'. Changing the sink type while keeping the same sink name can lead to data correctness issues. To use the new sink type, assign it a different name using the name() method on DataStreamWriter (for example, .name("my_new_sink")).
SOURCE_NAMING_NOT_SUPPORTED
Streaming source naming is not supported. Source name '<name>' was provided but the feature is disabled. Please enable the feature by setting spark.sql.streaming.queryEvolution.enableSourceEvolution to true.
TOMBSTONE_SOURCE_NAME_REUSE
Cannot reuse tombstoned source names: <sourceNames>. These source names were previously used and then removed from the streaming query at checkpoint location <checkpointLocation>. Reusing tombstoned source names can lead to data correctness issues. Please use different source names.
UNCOMMITTED_NAMED_SOURCES_REMOVED
Cannot remove named sources with uncommitted offsets at checkpoint location <checkpointLocation>: <sourceNames>. Restart the query with these sources present and allow the pending batch to commit before removing them.
UNNAMED_STREAMING_SINKS_WITH_ENFORCEMENT
Streaming sink must be named when spark.sql.streaming.queryEvolution.enableSinkEvolution is enabled. Use the name() method on DataStreamWriter to assign a name to the streaming sink.
UNNAMED_STREAMING_SOURCES_WITH_ENFORCEMENT
All streaming sources must be named when spark.sql.streaming.queryEvolution.enableSourceEvolution is enabled. Unnamed sources found: <sourceInfo>. Use the name() method to assign names to all streaming sources.