andygrove opened a new issue, #5949:
URL: https://github.com/apache/arrow-datafusion/issues/5949

   ### Describe the bug
   
   The following code is from a unit test in arrow-datafusion-python. It works 
correctly with DataFusion 21.1.0.
   
   ```python
       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 https://github.com/apache/arrow-datafusion-python/pull/320
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to