ErwanMAS created HIVE-9597:
------------------------------

             Summary: substition variables stopping when a undefined variable 
occur
                 Key: HIVE-9597
                 URL: https://issues.apache.org/jira/browse/HIVE-9597
             Project: Hive
          Issue Type: Bug
          Components: Parser
    Affects Versions: 0.13.0
         Environment: hortonworks 2.1
            Reporter: ErwanMAS
            Priority: Critical


{noformat}
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 ;
{noformat}

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to