alamb commented on issue #14608: URL: https://github.com/apache/datafusion/issues/14608#issuecomment-2764746130
I think the next question in my mind is exactly how to integrate this into datafusion-cli We could follow the model of duckdb and create a table function like `dbgen(sf = 1);` We could implement special syntax like this: ```sql -- write sf1 data to local parquet files CALL dbgen(sf = 1); ``` We could also potentially make table functions that generate the data ```sql -- select from lineitem at scalefactor 1 select * from tpch.lineitem(1); ``` And then people could copy to local files like ```sql copy (select * from tpch.lineitem(1)) to 'lineitem.parquet' ``` 🤔 -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org