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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.2.0
    • Functions - Drill
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: