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/06/11 19:03:05 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #201: Improve the errors that result when a aggregate type is not supported

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

   I believe the errors are now much improved so closing this ticket:
   
   ```
   ❯ create table foo (x timestamp) as values ('2023-01-01');
   0 rows in set. Query took 0.005 seconds.
   ❯ select * from foo;
   +---------------------+
   | x                   |
   +---------------------+
   | 2023-01-01T00:00:00 |
   +---------------------+
   1 row in set. Query took 0.002 seconds.
   ❯ select avg(x) from foo;
   Error during planning: The function Avg does not support inputs of type Timestamp(Nanosecond, None).
   ❯
   ```


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