You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/23 23:39:00 UTC

[jira] [Commented] (IMPALA-3956) Impala shell variable substitution should ignore comments embedded in query.

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

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

Commit c240bf11c0a3e01ca484723be5cd05021bab7dfe in impala's branch refs/heads/2.x from Alex Rodoni
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c240bf1 ]

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

Change-Id: Ifb95785a143939a94d55d3565364afe1e26c1f3d
Reviewed-on: http://gerrit.cloudera.org:8080/10861
Reviewed-by: Adam Holley <ah...@cloudera.com>
Reviewed-by: Fredy Wijaya <fw...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-on: http://gerrit.cloudera.org:8080/12802


> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org