You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/04 16:25:39 UTC

[GitHub] [arrow-datafusion] a-agmon commented on issue #1396: Caching datasets in context [Question]

a-agmon commented on issue #1396:
URL: https://github.com/apache/arrow-datafusion/issues/1396#issuecomment-986053653


   > I suspect it is also possible perhaps to use `CREATE TABLE AS SELECT` for this purpose
   > 
   > Something like
   > 
   > ```shell
   > echo  "1" > /tmp/foo.csv
   > datafusion-cli
   > ```
   > 
   >  ```sql
   > create external table foo(c1 int) stored as CSV location '/tmp/foo.csv';
   > 
   > create table bar as select * from foo;
   > ```
   
   Thanks @alamb 
   But would it be saved or cached in mem for subsequent access? 


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