-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
If I have a SQL query such as SELECT * FROM person AS peeps there is no way to extract the original table name person from the logical plan. It looks like the alias name is pushed down to the TableScan node and the original name is discarded.
Describe the solution you'd like
I would like to include an AliasedRelation node to better represent the query.
For example:
Projection(*)
AliasedRelation(name="peeps")
TableScan(name="person")
This would not change the physical plan.
Describe alternatives you've considered
None
Additional context
None
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request