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

ASF subversion and git services commented on IMPALA-3956:
---------------------------------------------------------

Commit a70c05ee2d295669707a2ab69d632f5b9cfab1cf in impala's branch 
refs/heads/master from [~arodoni_cloudera]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=a70c05e ]

IMPALA-3956: [DOCS]  Escape variables with '\' in impala-shell

Change-Id: Ifb95785a143939a94d55d3565364afe1e26c1f3d
Reviewed-on: http://gerrit.cloudera.org:8080/10861
Reviewed-by: Adam Holley <[email protected]>
Reviewed-by: Fredy Wijaya <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> 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
>             Fix For: Impala 3.1.0
>
>
> {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