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

Impala-shell doesn't validate query options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • Impala 2.2
    • None
    • Clients

    Description

      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.

      [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"
      

      This behavior is not consistent with Hive CLI where it validates query options.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmokhtar Mostafa Mokhtar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: