feat: support DataFusion paimon_incremental_query - #511
Open
Pandas886 wants to merge 2 commits into
Open
Conversation
Contributor
|
The Diff problem of inheriting '# 510'; The non audit mode will first push the SQL projection down to the core, directly triggering the issue of "only comparing projection columns/missing PK". In addition, the catalog section of 'catalog. db. table' is discarded after parsing, and the TVF global registration will be overwritten by the last registered catalog. Multiple catalog scenarios may result in reading the wrong catalog. |
Pandas886
force-pushed
the
feat/datafusion-incremental-query
branch
from
July 30, 2026 11:30
9e235b1 to
c833e97
Compare
Contributor
Author
|
Rebased on the latest main and fixed catalog/database resolution. Added coverage for multiple catalogs and USE database. Could you take another look? |
Pandas886
force-pushed
the
feat/datafusion-incremental-query
branch
from
July 30, 2026 11:40
c833e97 to
eb99a81
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Linked issue: close #506
This PR adds the DataFusion SQL surface for the batch incremental read APIs now available on
main.Brief change log
paimon_incremental_queryinSQLContextauto; optional 4th arg:auto/delta/changelog/diffIncrementalScan/AuditLogTable$audit_logsuffix for rowkind outputdocs/src/sql.mdwith usage and examplesTests
cargo test -p paimon-datafusion --test incremental_query cargo fmt --all -- --check cargo clippy -p paimon-datafusion --all-targets -- -D warningsAPI and Format
mainDocumentation
docs/src/sql.mddocuments registration, arguments, modes, and examples.