You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Weijun-H (via GitHub)" <gi...@apache.org> on 2023/06/14 21:37:02 UTC

[GitHub] [arrow-datafusion] Weijun-H commented on pull request #6654: fix: 'datatrunc' return inconsistent type

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org