Github user jinfengni commented on the issue:
https://github.com/apache/drill/pull/517
The change to the cast function implementation will impact not only
implicit cast, but also explicit cast. You are right that the test case of
employee_id = 170 will trigger implicit cast. However, if you have an explicit
cast "select cast(int_column as decimal) from ...", you will also see the
impact of the code change.
I could not understand what you mean by "casts are done statically". For
implicit cast, the cast function is inserted dynamically in execution time,
only after Drill knows the incoming batch schema.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---