Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-699

Function resolutions fails to find functions in registry during the materialization due to case sensitive issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Functions - Drill
    • None

    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.

      Attachments

        1. DRILL-699-2.patch
          10 kB
          Venki Korukanti

        Issue Links

          Activity

            People

              vkorukanti Venki Korukanti
              vkorukanti Venki Korukanti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: