You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "liming30 (via GitHub)" <gi...@apache.org> on 2023/04/06 13:02:37 UTC

[GitHub] [incubator-paimon] liming30 opened a new issue, #846: [Bug] LogSourceProvider should not be used with StartupMode.FROM_SNAPSHOT or StartupMode.FROM_SNAPSHOT_FULL

liming30 opened a new issue, #846:
URL: https://github.com/apache/incubator-paimon/issues/846

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.
   
   
   ### Paimon version
   
   0.4-SNAPSHOT
   
   ### Compute Engine
   
   Flink-1.16
   
   ### Minimal reproduce step
   
   1. Set `scan.mode` to `from-snapshot` or `from-snapshot-full`, and set `scan.snapshot-id` correctly.
   2. Set `log.system` to `kafka`
   3. Start the job in streaming mode.
   
   ### What doesn't meet your expectations?
   
   The job only reads the latest data from the `logSourceProvider`, and the historical snapshot's data is lost. 
   **related code**:https://github.com/apache/incubator-paimon/blob/master/paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/FlinkSourceBuilder.java#L148
   
   I think the current `LogSourceProvider` is not compatible with stream reading from the specified snapshot, we should do a pre-check and throw an exception.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-paimon] FangYongs closed issue #846: [Bug] LogSourceProvider should not be used with StartupMode.FROM_SNAPSHOT or StartupMode.FROM_SNAPSHOT_FULL

Posted by "FangYongs (via GitHub)" <gi...@apache.org>.
FangYongs closed issue #846: [Bug] LogSourceProvider should not be used with StartupMode.FROM_SNAPSHOT or StartupMode.FROM_SNAPSHOT_FULL
URL: https://github.com/apache/incubator-paimon/issues/846


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org