You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "hailelagi (via GitHub)" <gi...@apache.org> on 2024/09/14 12:50:58 UTC

[I] Proposal: provide hooks for `temporary` tables in the catalog [datafusion]

hailelagi opened a new issue, #12463:
URL: https://github.com/apache/datafusion/issues/12463

   ### Is your feature request related to a problem or challenge?
   
   While trying to return an explicit error to clarify the semantics of temporary tables in #12363, it was suggested that it might be a good idea to semantically distinguish temporary tables in the catalog, while strictly speaking this behaviour is/already exists in that DF's tables support this behaviour.
   
   ### Describe the solution you'd like
   
   I would like to define the semantics of a temporary table in the catalog which is hopefully a lot more semantically meaningful.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] hooks for `temporary` tables in the catalog [datafusion]

Posted by "jonahgao (via GitHub)" <gi...@apache.org>.
jonahgao closed issue #12463: hooks for `temporary` tables in the catalog
URL: https://github.com/apache/datafusion/issues/12463


-- 
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@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Proposal: provide hooks for `temporary` tables in the catalog [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #12463:
URL: https://github.com/apache/datafusion/issues/12463#issuecomment-2353773777

   How about adding a flag on the appropriate `DdlStatement`
   
   https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.DdlStatement.html
   
   So for example, that would mean adding a `temporary` flag to structures like `CreateMemoryTable`, `CreateExternalTable`, etc
   
   https://docs.rs/datafusion/latest/datafusion/logical_expr/struct.CreateMemoryTable.html
   
   If we wanted we could plumb that information into the memory catalog implementation that comes with DataFusion or we could potentially simply error if it appears (and let users of DataFusion define the semantics)


-- 
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@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] hooks for `temporary` tables in the catalog [datafusion]

Posted by "hailelagi (via GitHub)" <gi...@apache.org>.
hailelagi commented on issue #12463:
URL: https://github.com/apache/datafusion/issues/12463#issuecomment-2360714969

   take


-- 
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@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org