test(datafusion): add Vortex SQL E2E test#321
Open
liujiwen-up wants to merge 1 commit into
Open
Conversation
QuakeWang
reviewed
May 14, 2026
| // specific language governing permissions and limitations | ||
| // under the License. | ||
|
|
||
| #![cfg(feature = "vortex")] |
Contributor
There was a problem hiding this comment.
This e2e is currently not exercised by CI because it is behind #![cfg(feature = "vortex")], while the DataFusion CI does not enable the vortex feature. Please add a targeted CI step for this test, e.g. cargo test -p paimon-datafusion --features vortex --test vortex_tables.
ea459d7 to
5392829
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 #xxx
Add a minimal DataFusion SQL end-to-end test for Vortex file format tables.
This verifies that
paimon-datafusioncan enable the corepaimon/vortexfeature, create a table withfile.format = 'vortex', insert rows through SQL, and read them back correctly.Brief change log
vortex = ["paimon/vortex"]feature passthrough topaimon-datafusion.CREATE TABLE ... WITH ('file.format' = 'vortex')INSERT INTOSELECT ... ORDER BYWHERE id = 2query.vortexdata file.Utf8.STRING/Utf8schema compatibility.Tests
cargo fmt --all -- --checkcargo check -p paimon-datafusion --features vortexcargo test -p paimon-datafusion --test vortex_tables --features vortex test_vortex_file_format_sql_e2ecargo test -p paimon --features vortex test_vortex_reader_returns_utf8_for_string_schemacargo test -p paimon --features vortex arrow::format::vortexAPI and Format
No public API change.
No storage format change. This only exposes the existing optional Vortex support through the DataFusion integration feature and fixes Arrow schema compatibility when reading Vortex data.
Documentation
No documentation update required. The change adds test coverage for existing Vortex support rather than introducing a new user-facing feature.