feat: support DataFusion paimon_incremental_query#511
Open
Pandas886 wants to merge 4 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. |
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
Depends on: #508 → #509 → #510. This PR only adds the DataFusion SQL surface on top of that stack.
I wanted something you can actually type in SQL without dropping into the Rust API:
Brief change log
paimon_incremental_queryinSQLContextauto; optional 4th arg:auto/delta/changelog/diffIncrementalScan/AuditLogTable— no second planning implementation in the DF crate$audit_logsuffix for rowkind outputdocs/src/sql.mdwith the function and a couple examplesI skipped the Java golden / lookup-compact E2E path on purpose: those need compact/lookup generation which isn't in this contribution series. Coverage is pure Rust / input-changelog based.
Tests
cargo test -p paimon-datafusion --test incremental_query cargo fmt --all -- --check cargo clippy -p paimon -p paimon-datafusion --all-targets --features fulltext,vortex -- -D warningsAPI and Format
Documentation
Yes —
docs/src/sql.mdupdated.Review tip
If reviewing against
main, the DF-only commit is the tip:feat: support DataFusion paimon_incremental_query. Happy to restack onto latestmainonce #508–#510 land.