Ted-Jiang commented on issue #8795: URL: https://github.com/apache/arrow-datafusion/issues/8795#issuecomment-1882564737
seems cast in some place
```
❯ explain verbose select floor(-1);
+------------------------------------------------------------+--------------------------------------------------------------------------------------------------------+
| plan_type | plan
|
+------------------------------------------------------------+--------------------------------------------------------------------------------------------------------+
| initial_logical_plan | Projection:
floor(Int64(-1))
|
| |
EmptyRelation
|
| logical_plan after inline_table_scan | SAME TEXT AS
ABOVE
|
| logical_plan after type_coercion | Projection:
floor(CAST(Int64(-1) AS Float64))
|
| |
EmptyRelation
|
| logical_plan after count_wildcard_rule | SAME TEXT AS
ABOVE
|
| analyzed_logical_plan | SAME TEXT AS
ABOVE
|
| logical_plan after eliminate_nested_union | SAME TEXT AS
ABOVE
|
| logical_plan after simplify_expressions | Projection:
Float64(-1) AS floor(Int64(-1))
|
| |
EmptyRelation
|
| logical_plan after unwrap_cast_in_comparison | SAME TEXT AS
ABOVE
|
| logical_plan after replace_distinct_aggregate | SAME TEXT AS
ABOVE
|
| logical_plan after eliminate_join | SAME TEXT AS
ABOVE
```
--
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]
