You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "BubbaJoe (via GitHub)" <gi...@apache.org> on 2023/04/05 20:02:13 UTC

[GitHub] [arrow-datafusion] BubbaJoe opened a new issue, #5888: LogicalPlan API: Get catalog

BubbaJoe opened a new issue, #5888:
URL: https://github.com/apache/arrow-datafusion/issues/5888

   ### Is your feature request related to a problem or challenge?
   
   There doesn't seem to be a way of getting the catalog name from a logical plan: https://docs.rs/datafusion-expr/20.0.0/datafusion_expr/logical_plan/enum.LogicalPlan.html
   
   ### Describe the solution you'd like
   
   `logical_plan.catalog_name: String`
   `logical_plan.catalog_name() -> String`
   
   ### 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@arrow.apache.org.apache.org

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


[GitHub] [arrow-datafusion] BubbaJoe commented on issue #5888: LogicalPlan API: Getting catalog name

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

   Hello @Jefffrey, i didn't consider joins... In this case, i guess we can forget it.


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


[GitHub] [arrow-datafusion] BubbaJoe closed issue #5888: LogicalPlan API: Getting catalog name

Posted by "BubbaJoe (via GitHub)" <gi...@apache.org>.
BubbaJoe closed issue #5888: LogicalPlan API: Getting catalog name
URL: https://github.com/apache/arrow-datafusion/issues/5888


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


[GitHub] [arrow-datafusion] Jefffrey commented on issue #5888: LogicalPlan API: Getting catalog name

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

   Not sure if this can be a generic method on `LogicalPlan` itself, as for example if you join two tables with different catalog names, then what would the `catalog_name()` method return for a `Join` logical plan node?
   
   Currently you can kinda retrieve the catalog name from a `TableScan` logical plan node via its `table_name` field.
   
   Could you expand on the potential use case for such a method to give some more context?


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