[
https://issues.apache.org/jira/browse/IMPALA-2933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong resolved IMPALA-2933.
-----------------------------------
Resolution: Won't Fix
It's not clear that it's worth the shell doing an RPC per "set" command.
> Impala-shell doesn't validate query options
> -------------------------------------------
>
> Key: IMPALA-2933
> URL: https://issues.apache.org/jira/browse/IMPALA-2933
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 2.2
> Reporter: Mostafa Mokhtar
> Priority: Minor
> Labels: impala-shell
>
> Impala-shell doesn't validate query options and waits till a request is sent
> to the back-end to validate.
> As a result the user can pass arbitrary values without getting any errors.
> {code}
> [node1:21000] > set REPLICA_PREFERENCE=10;
> REPLICA_PREFERENCE set to 10
> [node1:21000] > set REPLICA_PREFERENCE=9999;
> REPLICA_PREFERENCE set to 9999
> [node1:21000] > set REPLICA_PREFERENCE="hfhhff";
> REPLICA_PREFERENCE set to "hfhhff"
> {code}
> This behavior is not consistent with Hive CLI where it validates query
> options.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)