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

Dynamic UDF lazy-init does not work correctly in multi-node cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.9.0
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      Reproduced in .csv file with 25 different fields, 2712474 lines and 570 MB amount of data.

      When I registered jar in 1st node and ran long query with function for first time I had got error:

      Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize incoming schema. Errors:

      Error in expression at index 0. Error: Missing function implementation:[f(VARCHAR-OPTIONAL, VARCHAR-OPTIONAL). Full expression: null..

      When I tried to run this query second time it finished correctly. It seems another nodes did not get new function.

      So lazy-init does not work well on another nodes before query fails.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arina Arina Ielchiieva
                Reporter:
                RomanKulyk Roman Kulyk
                Reviewer:
                Parth Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: