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

Fix TestContextFunctions.sessionIdUDFWithinSameSession unit test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.10.0
    • None

    Description

      After DRILL-5043 was merged into master, it introduced unit test TestContextFunctions.sessionIdUDFWithinSameSession which is currently failing with the following error:

      java.lang.Exception: org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: Encountered ";" at line 1, column 48.
      

      Fix:
      remove semicolon in the end of the query

      final String sessionIdQuery = "select session_id as sessionId from (values(1));"
      

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              arina Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: