Weijun-H commented on PR #6654:
URL: 
https://github.com/apache/arrow-datafusion/pull/6654#issuecomment-1592022285

   I am confused with this error after the return value type change
   ```
   Running "timestamps.slt"
   External error: query failed: DataFusion error: Internal error: could not 
cast value to 
arrow_array::array::primitive_array::PrimitiveArray<arrow_array::types::TimestampNanosecondType>.
 This was likely caused by a bug in DataFusion's code and we would welcome that 
you file an bug report in our issue tracker
   [SQL] SELECT 'ts_data_nanos', DATE_TRUNC('day', ts) FROM ts_data_nanos
    UNION ALL
   SELECT 'ts_data_micros', DATE_TRUNC('day', ts) FROM ts_data_micros
    UNION ALL
   SELECT 'ts_data_millis', DATE_TRUNC('day', ts) FROM ts_data_millis
    UNION ALL
   SELECT 'ts_data_secs', DATE_TRUNC('day', ts) FROM ts_data_secs
   at tests/sqllogictests/test_files/timestamps.slt:911
   ```


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