You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, DataFrame can cache tables in memory, but cannot cache DataFusion tables or views through SQL.
Describe the solution you'd like
I want to cache views and tables via CACHE TABLE <table_name> syntax like Spark SQL.At the same time, it is also necessary to support the UNCACHE TABLE <table_name> syntax to allow users to delete tables and views that do not require caching in memory.
Here are some docs aboutCACHE TABLE and UNCACHE TABLE in Spark SQL:
I has been implemented the syntax in apache/datafusion-sqlparser-rs#670, I will support it in DataFusion next, if anyone is interested, welcome to discuss here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, DataFrame can cache tables in memory, but cannot cache DataFusion tables or views through SQL.
Describe the solution you'd like
I want to cache views and tables via
CACHE TABLE <table_name>
syntax like Spark SQL.At the same time, it is also necessary to support theUNCACHE TABLE <table_name>
syntax to allow users to delete tables and views that do not require caching in memory.Here are some docs about
CACHE TABLE
andUNCACHE TABLE
in Spark SQL:1.
CACHE TABLE
: https://docs.databricks.com/spark/latest/spark-sql/language-manual/sql-ref-syntax-aux-cache-cache-table.html2.
UNCACHE TABLE
: https://docs.databricks.com/spark/latest/spark-sql/language-manual/sql-ref-syntax-aux-cache-uncache-table.htmlDescribe alternatives you've considered
I has been implemented the syntax in apache/datafusion-sqlparser-rs#670, I will support it in DataFusion next, if anyone is interested, welcome to discuss here.
The text was updated successfully, but these errors were encountered: