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

Alex Rodoni commented on IMPALA-3956:
-------------------------------------

https://gerrit.cloudera.org/#/c/10861/

> Impala shell variable substitution should ignore comments embedded in query.
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-3956
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3956
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients, Docs
>    Affects Versions: Impala 2.6.0
>            Reporter: Huaisi Xu
>            Assignee: Alex Rodoni
>            Priority: Minor
>              Labels: regression, usability
>
> {code:java}
> -- WHERE a >= "${start_date}"
> select
> *
> from --fda;
> test
> -- WHEREa >= "${start_date}"
> {code}
> {code:java}
> Starting Impala Shell without Kerberos authentication
> Connected to localhost:21000
> Server version: impalad version 2.7.0-cdh5-INTERNAL DEBUG (build 
> ebd65a142d3f3f4087eb1c9aaf25d53d2045a4cb)
> Error: Unknown substitution syntax (START_DATE). Use ${VAR:var_name}.
> Could not execute command: -- WHERE a >= "${start_date}"
> select
> *
> from --fda;
> test
> -- WHERE a >= "${start_date}"
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to