You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/18 06:26:07 UTC

[jira] [Commented] (DRILL-699) Function resolutions fails to find functions in registry during the materialization due to case sensitive issues

    [ https://issues.apache.org/jira/browse/DRILL-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034794#comment-14034794 ] 

Jacques Nadeau commented on DRILL-699:
--------------------------------------

fixed in 894037a or earlier

> Function resolutions fails to find functions in registry during the materialization due to case sensitive issues
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-699
>                 URL: https://issues.apache.org/jira/browse/DRILL-699
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Venki Korukanti
>            Assignee: Venki Korukanti
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-699-2.patch
>
>
> We maintain a Map<String, DrillFuncHolder> for functions that map the given function name to holder. Here the function name is added to map as it is given in FunctionTemplate without any case changes. The problem is after the Optiq-Drill conversion, all function names are converted to lowercase (in DrillOptiq.java). So if a function name is "isTrue" in the registry, we search for "istrue" and don't find any function during materialization.



--
This message was sent by Atlassian JIRA
(v6.2#6252)