I have an S3 data source and I am creating tables in it using the CTAS command.
However, the CTAS command does not directly create a physical table but a folder with a parquet file in it. I have to manually convert the folder to a physical table by using the button under the “Action” column.
I was wondering what is the purpose of CTAS creating a folder instead of a table. Also, is there a way for CTAS to create a physical table, directly, without the manual intervention?
We currently support CTAS only on file system sources. What you can do is promote the folder back in Dremio and run queries against it as if it was a table
To follow-up on my previous question, since the CTAS only supports filesystem table creation then what is the role of the button under the “Action” column? I mean, what is happening when you change the folder with the parquet file into a “table”?
@Theo - on the S3 Source, edit source and check this property “Automatically format files into physical datasets when users issue queries.” See screenshot.