[ https://issues.apache.org/jira/browse/DRILL-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venki Korukanti updated DRILL-699: ---------------------------------- Description: 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. (was: 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. So if a function name is "isTrue" is in registry, we search for "istrue" and don't find any function during materialization.) > 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 > Reporter: Venki Korukanti > Assignee: Venki Korukanti > > 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)