[
https://issues.apache.org/jira/browse/DRILL-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mehant Baid updated DRILL-577:
------------------------------
Attachment: DRILL-577.patch
> 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
> Attachments: DRILL-577.patch
>
>
> 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)