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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   We have many different ways to create names from expressions with duplicated 
and sometimes inconsistent code.
   
   Logical Expression:
   - Display trait
   - Debug trait
   - `Expr.name()` method
   - `create_name` method
   
   Physical Expression:
   ` `create_physical_name` method
   
   One example of confusion is that queries sometimes result in field names 
containing `Divide` and sometimes `/`. For example:
   
   - `decimal_simple.c1 / CAST(Float64(0.00001) AS Decimal128(5, 5))` uses `/`
   - `CAST(decimal_simple.c1 AS Decimal128(30, 19)) Divide 
CAST(decimal_simple.c5 AS Decimal128(30, 19))` uses `Divide`
   
   **Describe the solution you'd like**
   Make names more consistent and avoid duplicate code
   
   **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: [email protected]

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

Reply via email to