Commit 59e8a79
authored
fix: use datafusion_expr instead of datafusion crate in spark (#21043)
## Which issue does this PR close?
NA
## Rationale for this change
Three files in `datafusion-spark` import from `datafusion::logical_expr`
instead of `datafusion_expr` directly. This compiles fine in the full
workspace but fails when building the crate in isolation (`cargo clippy
-p datafusion-spark `).
## What changes are included in this PR?
Replaced `use datafusion::logical_expr::{...}` with `use
datafusion_expr::{...}` in:
- `datafusion/spark/src/function/bitmap/bitmap_bit_position.rs`
- `datafusion/spark/src/function/bitmap/bitmap_bucket_number.rs`
- `datafusion/spark/src/function/math/bin.rs`
No logic changes — imports only.
## Are these changes tested?
NA
## Are there any user-facing changes?
NA1 parent 878b879 commit 59e8a79
File tree
3 files changed
+12
-6
lines changed- datafusion/spark/src/function
- bitmap
- math
3 files changed
+12
-6
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
0 commit comments