You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/05/01 13:23:19 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #6155: arithmetic operations on timestamps fail when `now()` is used as the LHS argument

alamb commented on issue #6155:
URL: https://github.com/apache/arrow-datafusion/issues/6155#issuecomment-1529708694

   This query generates an error for me using datafusion-cli (using the latest master branch):
   
   ```
   alamb@MacBook-Pro-8:~$ datafusion-cli
   DataFusion CLI v23.0.0
   ❯ WITH cte AS (
       SELECT now() AS dt
   )
   SELECT now() - cte.dt FROM cte
   ;
   Internal error: If RHS of the operation is an array, then LHS also must be. 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
   ```


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