jonahgao commented on PR #12184:
URL: https://github.com/apache/datafusion/pull/12184#issuecomment-2313958525

   > Should we get Column's relation for Alias in `to_field`?
   
   I think we should directly use the relation from the Alias itself, as that 
is the purpose of an Alias expression. After an expression is rewritten, by 
adding an Alias we can ensure that the result of `to_field` remains the same, 
including the qualifier and name, thus maintaining the schema unchanged.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to