Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Since the schema of the table is not known during the validation phase of Calcite, Drill ends up skipping most of the validation checks in Calcite.
This causes certain problems at execution time, for example when we fail function resolution or function execution due to incorrect types provided to the function. The worst manifestation of this problem is in the case when Drill tries to apply implicit casting and produces incorrect results. There are cases when its fine the apply the implicit cast but it doesn't make sense for a particular function.
This JIRA is aimed to provide a new approach to be able to perform validation
Attachments
Issue Links
- contains
-
DRILL-594 cast interval as time returns wrong value
- Open