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 "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2022/04/04 22:38:00 UTC

[jira] [Assigned] (IMPALA-11165) ParseQueryOptions() cannot parse the value of some query options

     [ https://issues.apache.org/jira/browse/IMPALA-11165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fang-Yu Rao reassigned IMPALA-11165:
------------------------------------

    Assignee: Fang-Yu Rao

> ParseQueryOptions() cannot parse the value of some query options
> ----------------------------------------------------------------
>
>                 Key: IMPALA-11165
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11165
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 4.1.0
>            Reporter: Fang-Yu Rao
>            Assignee: Fang-Yu Rao
>            Priority: Minor
>
> We found that [ParseQueryOptions()|https://github.com/apache/impala/blob/master/be/src/service/query-options.cc#L1223-L1246] could not parse the value of some query options, e.g., '{{{}ENABLED_RUNTIME_FILTER_TYPES{}}}', which has been extended to a set in IMPALA-10898, if the value contains commas, e.g., "{{{}BLOOM,MIN_MAX{}}}".
> This issue could also be reproduced if we use Impala shell to connect to the Impala server via the beeswax protocol.
> {code:java}
> fangyurao@fangyu-downstream-dev-8:~/Impala$ ./bin/impala-shell.sh --protocol beeswax
> Starting Impala Shell without Kerberos authentication
> Opened TCP connection to localhost:21000
> Connected to localhost:21000
> Server version: impalad version 4.1.0-SNAPSHOT DEBUG (build e7588517db28ae88b5d5a12cfb3cae61b6a22dc7)
> ***********************************************************************************
> Welcome to the Impala shell.
> (Impala Shell v4.1.0-SNAPSHOT (e758851) built on Thu Mar  3 14:56:31 PST 2022)
> You can run a single query from the command line using the '-q' option.
> ***********************************************************************************
> WARNING: The beeswax protocol is deprecated and will be removed in a future version of Impala.
> [localhost:21000] default> SET ENABLED_RUNTIME_FILTER_TYPES=MIN_MAX,IN_LIST;
> ENABLED_RUNTIME_FILTER_TYPES set to MIN_MAX,IN_LIST
> [localhost:21000] default> SHOW DATABASES;
> Query: SHOW DATABASES
> ERROR: Errors parsing query options
> Invalid configuration option 'IN_LIST'.
> {code}
> Another example is the query option of '{{{}CLIENT_IDENTIFIER{}}}' (Thanks to [~stigahuang]'s input).
> {code:java}
> $ bin/impala-shell.sh --protocol=beeswax
> Starting Impala Shell with no authentication using Python 2.7.16
> Opened TCP connection to localhost:21000
> Connected to localhost:21000
> Server version: impalad version 4.1.0-SNAPSHOT RELEASE (build e2a6c7aed38fe51105b2bf3e8ab74c5ca1e5cacc)
> ***********************************************************************************
> Welcome to the Impala shell.
> (impala shell build version not available)
> To see live updates on a query's progress, run 'set LIVE_SUMMARY=1;'.
> ***********************************************************************************
> WARNING: The beeswax protocol is deprecated and will be removed in a future version of Impala.
> [localhost:21000] default> set CLIENT_IDENTIFIER="abc,ddd";
> CLIENT_IDENTIFIER set to "abc,ddd"
> [localhost:21000] default> show databases;
> Query: show databases
> ERROR: Errors parsing query options
> Invalid configuration option 'ddd"'.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org