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

   We ran into a situation where we ended up with the expression `select 
get_field(named_struct('f', col, 'f2' other_col), 'f') from original` because 
it started as a query `select get_field(view_col, 'f') from t_original` where 
`t` is a view `select named_struct('f', col, 'f2' other_col) as view_col from 
t_original`.
   
   It would be nice to simplify this away, to `col` in this case.


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