[
https://issues.apache.org/jira/browse/HIVE-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Navis resolved HIVE-9597.
-------------------------
Resolution: Duplicate
Fix Version/s: 0.14.0
> 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
> Fix For: 0.14.0
>
>
> {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)