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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Paimon version
   
   paimon-0.9 snapshot
   
   ### Compute Engine
   
   flink-1.17.2
   
   ### Minimal reproduce step
   
   Stream a `ReadOptimizedTable`, which contains the primary key.
   
   ### What doesn't meet your expectations?
   
   `ReadOptimizedTable` with primary key should only provide batch read. In 
streaming mode, the semantics of incremental data are strange.  For example, if 
`changelog-producer` is set to `INPUT`, we will not be able to obtain 
incremental data because we only obtain the top-level files. At the same time, 
`SystemTable` should only provide `insert-only` data, which means that 
`ReadOptimizedTable` cannot provide retract messages.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to