Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11165

ParseQueryOptions() cannot parse the value of some query options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 4.1.0
    • None
    • Backend
    • None
    • ghx-label-10

    Description

      We found that ParseQueryOptions() 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.

      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'.
      

      Another example is the query option of 'CLIENT_IDENTIFIER' (Thanks to stigahuang's input).

      $ 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"'.
      

      Attachments

        Activity

          People

            fangyurao Fang-Yu Rao
            fangyurao Fang-Yu Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: