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

   ### Is your feature request related to a problem or challenge?
   
   The feature request is based on the need that I would like `get_field(expr, 
key)` to displayed as `expr[key]`.
   
   two reason
   1.  Mimic the pattern as Expr::GetIndexedField for #10374 
   2. `expr[key]` looks nicer!
   
   
https://github.com/apache/datafusion/blob/8190cb97216e4f46faccbeddae57f6773587955f/datafusion/expr/src/expr.rs#L1583-L1595
   
   
   Given the current function to build the name has only a fixed pattern, I 
think enable user-defined display is a good idea
   
   
https://github.com/apache/datafusion/blob/8190cb97216e4f46faccbeddae57f6773587955f/datafusion/expr/src/expr.rs#L1646-L1653
   
   
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### 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-unsubscr...@datafusion.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to