-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The following code is from a unit test in arrow-datafusion-python. It works correctly with DataFusion 21.1.0.
df = df.select(
column("a") + column("b"),
column("a") - column("b"),
).filter(column("a") > literal(2))
# execute and collect the first (and only) batch
result = df.collect()[0]When I upgrade to DF 22.0.0, it fails with:
Exception: Schema error: No field named ca29d730badd94c3d96481c7edf6255b0.a. Valid fields are "ca29d730badd94c3d96481c7edf6255b0.a + ca29d730badd94c3d96481c7edf6255b0.b", "ca29d730badd94c3d96481c7edf6255b0.a - ca29d730badd94c3d96481c7edf6255b0.b".
To Reproduce
See apache/datafusion-python#320
Expected behavior
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working