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

Error using functions with no parameters when `drill.exec.functions.cast_empty_string_to_null` is set to true

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      There is an issue with function materialization when the function has no parameters and this option is set. This cases a low level IOOB exception to be thrown.

      0: jdbc:drill:zk=local> select *, random() from sys.drillbits;
      Error: SYSTEM ERROR: IndexOutOfBoundsException: index (0) must be less than size (0)

      Fragment 0:0

      [Error Id: 5853c1da-ea8d-41c3-812c-2fdde799803b on 10.250.50.33:31010] (state=,code=0)

        Attachments

          Activity

            People

            • Assignee:
              jaltekruse Jason Altekruse
              Reporter:
              jaltekruse Jason Altekruse
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: