Mehant Baid created DRILL-577:
---------------------------------
Summary: Allow implicit cast to be applied in both directions for
certain data types
Key: DRILL-577
URL: https://issues.apache.org/jira/browse/DRILL-577
Project: Apache Drill
Issue Type: Bug
Reporter: Mehant Baid
Assignee: Mehant Baid
Currently implicit cast works as per the precedence rules. However based on
some functions it might be useful allow the implicit cast to work in the
opposite direction as specified by the precedence map.
For example: As per the precedence rules, we can implicitly cast from VARCHAR
---> BIGINT. However for some functions (eg: substr, concat) it might be useful
to implicitly cast from BIGINT ---> VARCHAR.
--
This message was sent by Atlassian JIRA
(v6.2#6252)