Skip to content

fix: import from datafusion_expr in make_valid_utf8#21687

Merged
Jefffrey merged 1 commit intoapache:mainfrom
hcrosse:fix-spark-make-valid-utf8-import
Apr 17, 2026
Merged

fix: import from datafusion_expr in make_valid_utf8#21687
Jefffrey merged 1 commit intoapache:mainfrom
hcrosse:fix-spark-make-valid-utf8-import

Conversation

@hcrosse
Copy link
Copy Markdown
Contributor

@hcrosse hcrosse commented Apr 16, 2026

Which issue does this PR close?

Rationale for this change

Per issue. make_valid_utf8.rs imports from datafusion::logical_expr, but datafusion is only a dep of datafusion-spark behind the core feature, so cargo check -p datafusion-spark and cargo bench -p datafusion-spark both fail without --all-features. CI doesn't catch it because datafusion-sqllogictest pins datafusion-spark with core on.

What changes are included in this PR?

Move the ColumnarValue, Signature, Volatility imports from datafusion::logical_expr to datafusion_expr, which is already imported a few lines below.

Are these changes tested?

Covered by existing tests. Verified cargo check -p datafusion-spark, cargo check -p datafusion-spark --all-targets, and cargo bench -p datafusion-spark all succeed after the change, and ./dev/rust_lint.sh passes.

Are there any user-facing changes?

No.

@github-actions github-actions bot added the spark label Apr 16, 2026
Copy link
Copy Markdown
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks

@Jefffrey Jefffrey added this pull request to the merge queue Apr 17, 2026
Merged via the queue into apache:main with commit 4e015db Apr 17, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

datafusion-spark fails to build standalone with -p datafusion-spark

2 participants