bug(datafusion): No real support for temporary table creation #10066
Labels
bug
Incorrect behavior inside of ibis
requires upstream support
Feature or bug requires support from the upstream project
What happened?
I was playing around on the cli trying to generate tables and views, and temp versions of them, and I noticed that adding TEMPORARY to the create statement still resulted in a table or view being categorized with table_type under information_schema.tables as BASE_TABLE and VIEW respectively, and not as LOCAL_TEMPORARY as I would expect, that table_type exists see here but it looks like that can only be generated via rust code according to this comment.
Then on our end when we create tables on datafusion and we provide temp=True we are not really creating a temporary table.
Unless I'm missing something, this would mean that we aren't and can't support creation of temporary tables/views.
I opened an issue upstream in datafusion, asking about creation of temporary tables with SQL: apache/datafusion#12363
Until we hear something, I think we should raise when
temp=True
increate_table
saying it's not supported.CLI findings
On Ibis this is replicated, when we pass
temp=True
it also gets swallowedWhat version of ibis are you using?
main
What backend(s) are you using, if any?
datafusion
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: