Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9597

substition variables stopping when a undefined variable occur

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: Parser
    • Labels:
      None
    • Environment:

      hortonworks 2.1

      Description

      set hivevar:A_VALUE_1=A ;
      set hivevar:A_VALUE_3=C ;
      explain select "${A_VALUE_1}","${A_VALUE_2}","${A_VALUE_3}" from foobar ;
      set hivevar:A_VALUE_2=B ;
      explain select "${A_VALUE_1}","${A_VALUE_2}","${A_VALUE_3}" from foobar ;
      

      In the first query , the variable A_VALUE_3 is not subsituted , because the A_VALUE_2 is not defined !

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ErwanMAS ErwanMAS
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: