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

   ### Describe the bug
   
   Parent issue https://github.com/apache/datafusion/issues/22137
   
   
   ### Steps to reproduce
   
   ```
   statement
   CREATE TABLE bigint_max_range(id bigint) USING parquet
   
   statement
   INSERT INTO bigint_max_range VALUES
     (9223372036854775804),
     (9223372036854775805),
     (9223372036854775806)
   
   query spark_answer_only
   SELECT id,
     LAST_VALUE(id) OVER (ORDER BY id
                          RANGE BETWEEN CURRENT ROW AND 4 FOLLOWING) AS lv
   FROM bigint_max_range
   
   Caused by: org.apache.comet.CometNativeException: Trying to access an 
element at index 18446744073709551615 from a PrimitiveArray of length 3
   
   ```
   
   ### 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