jayzhan211 commented on issue #10274:
URL: https://github.com/apache/datafusion/issues/10274#issuecomment-2083858309

   > > Yes, I realized that. I was thinking whether we should use a better name 
to display, for example CAST(2 AS INTEGER) in the case but not Int64(2) , like 
it in duckdb. What do you think? @jayzhan211
   > 
   > I agree formatting `Int64(2)` as `2` would certainly be nicer
   > 
   > I am not sure about removing the `CAST`
   
   I think you are mistaken
   
   Current display is like, which is unclear why i64 type has a result like 
float, because we do not show the `casting`
   ```
   +----------+
   | Int64(2) |
   +----------+
   | 2.0 |
   +----------+
   ```
   
   Expect display is something like
   ```
   +----------+
   | Cast(Int64(2) as Float)|
   +----------+
   | 2.0 |
   +----------+
   ```


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