[Feature] Flink Source throw the fetch timestamp %s is larger than the max timestamp %s. #274
Open
1 task done
Labels
feature
New feature or request
Search before asking
Motivation
Currently, if the table bucket is not updated for two days, the max timestamp also will be earlier value.If I specified the source start from current, the exception will be thrown.
Solution
just like what kafka source [1] and paimon do.
kafka:
paimon
[1] https://github.com/apache/flink-connector-kafka/blob/f6a077a9dd8d1d5e43fc545cc9baab227d8438a0/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/enumerator/initializer/TimestampOffsetsInitializer.java#L51
[2] https://github.com/apache/paimon/blob/ba4576657edf1dde60ac321423d4fa6032169119/paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java#L306
The text was updated successfully, but these errors were encountered: