You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/06 17:23:25 UTC

[GitHub] [arrow-datafusion] alamb commented on pull request #2461: Do not allow HAVING clause in non-aggregate queries

alamb commented on PR #2461:
URL: https://github.com/apache/arrow-datafusion/pull/2461#issuecomment-1119833519

   > hmm ok maybe we should not make this change then. Here is the test I was running in postgres:
   
   Ah, that makes sense as `price` wasn't in the select list (which is technically supposed to be evaluated before the HAVING)
   
    I bet this would work:
   
   ```sql
   select id, name, price from book having price < 6;
   ```


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