HaoYang670 commented on issue #4209:
URL:
https://github.com/apache/arrow-datafusion/issues/4209#issuecomment-1315004883
Another concern (may be not related to this issue) is that should we move
the `type_coercion` out from the `optimizer` and put it into a new mod (maybe
call it `type_checker`)?
Because what the `type_coercion` does is different from an optimizer, but
more like a type-checker in the compiler. It checks the plan, but not optimizes
the plan:
```
Logical Plan -->> (type checker / type_coercion) -->> Sensible Logical Plan
-->> (Logical optimizer) -->> Optimized Logical Plan
|
\|/
Return error if the plan break the type rules
```
--
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]