You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/02/06 13:50:41 UTC

[jira] [Created] (DRILL-5243) Fix TestContextFunctions.sessionIdUDFWithinSameSession unit test

Arina Ielchiieva created DRILL-5243:
---------------------------------------

             Summary: Fix TestContextFunctions.sessionIdUDFWithinSameSession unit test
                 Key: DRILL-5243
                 URL: https://issues.apache.org/jira/browse/DRILL-5243
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.10.0
            Reporter: Arina Ielchiieva
            Assignee: Arina Ielchiieva
             Fix For: 1.10.0


After DRILL-5043 was merged into master, it introduced unit test TestContextFunctions.sessionIdUDFWithinSameSession which is currently failing with the following error:
{noformat}
java.lang.Exception: org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: Encountered ";" at line 1, column 48.
{noformat}

Fix:
remove semicolon in the end of the query
{noformat}
final String sessionIdQuery = "select session_id as sessionId from (values(1));"
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)