Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Oct 10, 2025

Fix a bug where datafusion scans the provide output_ordering assume the stream itself is provided in-order, and we explicitly don't guarantee the stream we return from files is in-order.

@AdamGS AdamGS requested review from gatesn and robert3005 October 10, 2025 10:28
@AdamGS AdamGS added the changelog/fix A bug fix label Oct 10, 2025
@AdamGS AdamGS force-pushed the adamg/df-testing-ordering branch from 0660004 to 8ed78b5 Compare October 10, 2025 10:30
│ └── Root
└── pattern: Literal(value: "test%", dtype: utf8)
"#);
insta::allow_duplicates! {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes cargo test -p vortex-datafusion work

Comment on lines +242 to +252
┌───────────────────────────┐
│ SortPreservingMergeExec │
│ -------------------- │
│ c1 ASC NULLS LASTlimit: │
│ 3 │
└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│ DataSourceExec │
│ -------------------- │
│ files: 3 │
│ format: vortex │
└───────────────────────────┘
");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shows plan is correct - it has no explicit SortExec node.

@AdamGS AdamGS force-pushed the adamg/df-testing-ordering branch from 8ed78b5 to df5a00b Compare October 10, 2025 10:32
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/df-testing-ordering branch from df5a00b to 3f8b239 Compare October 10, 2025 10:40
@codecov
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.48%. Comparing base (f43cd8b) to head (3f8b239).
⚠️ Report is 13 commits behind head on develop.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AdamGS AdamGS enabled auto-merge (squash) October 10, 2025 11:04
@AdamGS AdamGS merged commit bfbc274 into develop Oct 10, 2025
39 checks passed
@AdamGS AdamGS deleted the adamg/df-testing-ordering branch October 10, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants