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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to