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

Impala shell variable substitution should ignore comments embedded in query.

    XMLWordPrintableJSON

Details

    Description

      -- WHERE a >= "${start_date}"
      select
      *
      from --fda;
      test
      -- WHEREa >= "${start_date}"
      
      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}"
      

      Attachments

        Activity

          People

            arodoni Alexandra Rodoni
            HuaisiXu Huaisi Xu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: