Yacobolo opened a new issue, #7760:
URL: https://github.com/apache/arrow-datafusion/issues/7760
### Is your feature request related to a problem or challenge?
I was trying to write an adapter for dbt, but ran into a problem with it not
supporting "with"statments.
### Describe the solution you'd like
be able to do:
```sql
WITH preprocessed_data AS (
SELECT id, name, SUM(sales) as total_sales
FROM sales_data
WHERE date > '2022-01-01'
GROUP BY id, name
)
SELECT name, total_sales
FROM preprocessed_data
WHERE total_sales > 1000;
```
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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]