You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2016/06/16 16:44:05 UTC

[jira] [Commented] (DRILL-3272) HIve : Using 'if' function in hive results in an ExpressionParsingException

    [ https://issues.apache.org/jira/browse/DRILL-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334130#comment-15334130 ] 

Vitalii Diravka commented on DRILL-3272:
----------------------------------------

[~rkins] "IF" hive udf works now in 1.6.0 and 1.5.0 drill versions. Please check it. Looks like it was fixed already. 

> HIve : Using 'if' function in hive results in an ExpressionParsingException
> ---------------------------------------------------------------------------
>
>                 Key: DRILL-3272
>                 URL: https://issues.apache.org/jira/browse/DRILL-3272
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Hive
>            Reporter: Rahul Challapalli
>             Fix For: Future
>
>         Attachments: error.log
>
>
> git.commit.id.abbrev=5f26b8b
> The below query fails. It works properly from hive however
> {code}
> select if(1999 > 2000, 'latest', 'old') from lineitem limit 1;
> Error: SYSTEM ERROR: org.apache.drill.common.exceptions.ExpressionParsingException: Expression has syntax error! line 1:28:mismatched input ',' expecting CParen
> Fragment 1:1
> [Error Id: 007e7d7d-62dc-42fd-b526-07762c33719c on qa-node190.qa.lab:31010] (state=,code=0)
> {code}
> I attached the error log. Let me know if you need anything else.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)