[
https://issues.apache.org/jira/browse/DRILL-5243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854262#comment-15854262
]
ASF GitHub Bot commented on DRILL-5243:
---------------------------------------
Github user zfong commented on the issue:
https://github.com/apache/drill/pull/743
Looks good to me. +1
> 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
> Labels: ready-to-commit
> 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)