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

Re: [I] Support for WITH Statements in DataFusion (they are currently silently ignored) [arrow-datafusion]

devinjdangelo commented on issue #7760:
URL: https://github.com/apache/arrow-datafusion/issues/7760#issuecomment-1751415697

   I might be missing something, but I thought Datafusion did support [with statements](https://arrow.apache.org/datafusion/user-guide/sql/select.html)
   
   I tested this query locally and it worked:
   
   ```sql
   WITH table2 AS (
   SELECT  a, count(1) as cnt
   FROM table1
   GROUP BY A
   )
   SELECT * 
   FROM table2
   WHERE cnt>10
   LIMIT 10
   ```


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