Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2136

[hive] Parameter substitution in multi queries

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.10.0
    • Component/s: con.hive
    • Labels:
      None

      Description

      DROP TABLE if exists at_least_10;
      
      CREATE TABLE at_least_10 as
      SELECT salary, code
      FROM sample_07
      WHERE salary >= ${minage};
      
      Error while compiling statement: FAILED: ParseException line 4:16 cannot recognize input near '$' '{' 'minage' in expression specification
      

        Attachments

          Activity

            People

            • Assignee:
              romain Romain Rigaux
              Reporter:
              romain Romain Rigaux
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: