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

substition variables stopping when a undefined variable occur

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 0.13.0
    • 0.14.0
    • Parser
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: