Skip to content

Conversation

@JQ-Cao
Copy link

@JQ-Cao JQ-Cao commented Nov 28, 2025

Purpose

Linked issue: close #6698

If the table is dv enabled or using first-row as merge engine, DataTableBatchScan filters out records with level = 0. This breaks incremental queries using the input changelog producer, as changelog entries are incorrectly excluded. This change ensures changelog records are preserved in such scenarios.

Tests

IncrementalTableTest#testIncrementalWithInputChangeLogAndMoW: Added in the PR.

API and Format

No API changes.
No storage format changes.

Documentation

None

…eletion vectors are enabled and changelog producer is set to 'input'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Incremental query failing to read changelog when batchScanSkipLevel0 is true and changelog producer is set to 'input'

1 participant