timsaucer commented on issue #24341:
URL: https://github.com/apache/datafusion/issues/24341#issuecomment-5285937681

   I have verified that this IS a regression. The following SLT test works in 
54.1.0 but has an assertion failure in 55.0.0rc2
   
   ```
   query ?T
   SELECT slice(array(1, 2, 3, 4), 2, 2), arrow_typeof(slice(array(1, 2, 3, 4), 
2, 2));
   ----
   [2, 3] List(Int64)
   ```
   
   Note: In 55.0.0rc2 I think the return should be `[2, 3] List(Int64, field: 
'element')` but we never get to the point of comparing the result because of 
the assertion fails with:
   
   ```
   1. query failed: DataFusion error: Internal error: Assertion failed: 
result_data_type == *expected_type: Function 'array_slice' returned value of 
type 'List(Int64)' while the following type was promised at planning time and 
expected: 'List(Int64, field: 'element')'.
   This issue was likely caused by a bug in DataFusion's code. Please help us 
to resolve this by filing a bug report in our issue tracker: 
https://github.com/apache/datafusion/issues
   [SQL] SELECT slice(array(1, 2, 3, 4), 2, 2), arrow_typeof(slice(array(1, 2, 
3, 4), 2, 2));
   ```


-- 
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