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

   ### Describe the bug
   
   Some queries fail with `org.apache.comet.CometNativeException: Invalid 
argument error: Invalid arithmetic operation: Int32 - Int64`
   
   ### Steps to reproduce
   
   Add this query to `CometAggregateSuite` (this test is copied from Spark SQL 
tests).
   
   ```scala
     test("reverse preceding/following range between with aggregation") {
       val df = Seq(1, 2, 4, 3, 2, 1).toDF("value")
       val window = Window.orderBy($"value".desc)
   
       withSQLConf(CometConf.COMET_SHUFFLE_MODE.key -> "jvm") {
         val df2 = df.select(
           $"value",
           sum($"value").over(window.rangeBetween(Window.unboundedPreceding, 
1)),
           sum($"value").over(window.rangeBetween(1, 
Window.unboundedFollowing)))
   
         checkSparkAnswer(df2)
       }
     }
   ```
   
   ### 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to