You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/05 17:33:45 UTC

[GitHub] [arrow-datafusion] andygrove opened a new issue, #2164: Introduce AliasedRelation in logical plan

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

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


-- 
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] andygrove commented on issue #2164: Introduce AliasedRelation in logical plan

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2164:
URL: https://github.com/apache/arrow-datafusion/issues/2164#issuecomment-1099278216

   Fixed in https://github.com/apache/arrow-datafusion/pull/2172


-- 
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] andygrove closed issue #2164: Introduce AliasedRelation in logical plan

Posted by GitBox <gi...@apache.org>.
andygrove closed issue #2164: Introduce AliasedRelation in logical plan
URL: https://github.com/apache/arrow-datafusion/issues/2164


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