GitHub user alamb added a comment to the discussion: Multiple 'group by's, one 
scan

There is some additional discussion on a similar sounding feature here:
- https://github.com/apache/datafusion/issues/8777

Another potential approach is to fully materialize the input (`INSERT INTO 
temp_file.parquet SELECT ...`) or `CREATE TABLE temp as SELECT ...`

Basically the tricky bit with an approach to share the scan is that in the 
general case the `CommonInput` would have to buffer the entire input anyways 
(if the consumers consumed at different rates)


GitHub link: 
https://github.com/apache/datafusion/discussions/15982#discussioncomment-13158541

----
This is an automatically sent email for github@datafusion.apache.org.
To unsubscribe, please send an email to: 
github-unsubscr...@datafusion.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to