lyne7-sc opened a new issue, #1523:
URL: https://github.com/apache/paimon-rust/issues/1523

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/paimon-rust/issues) and found nothing 
similar.
   
   
   ### Please describe the bug 🐞
   
   Batch scans skip scalar global indexes on unbucketed append tables with row 
tracking enabled.
   
   Create an append table with `bucket=-1`, `row-tracking.enabled=true`, and 
`data-evolution.enabled=false`. Write `id` values `[0, 3, 9]`, build a scalar 
B-tree global index on `id`, and scan with `id = 3`. The scan plan has no row 
ranges from the index. It should select the matching row ID and still scan any 
unindexed data under the default search mode.
   
   ### Solution
   
   Use the existing scalar index scan path for eligible append tables. Count 
rows for a position slice before dropping splits with no index matches so the 
slice still refers to the same rows.
   
   ### 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