[ https://issues.apache.org/jira/browse/HIVE-19357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt McCline updated HIVE-19357: -------------------------------- Attachment: HIVE-19357.02.patch > Vectorization: assert_true HiveException erroneously gets suppressed to NULL > ---------------------------------------------------------------------------- > > Key: HIVE-19357 > URL: https://issues.apache.org/jira/browse/HIVE-19357 > Project: Hive > Issue Type: Bug > Components: Vectorization > Reporter: Zoltan Haindrich > Assignee: Matt McCline > Priority: Major > Attachments: HIVE-19357.01.patch, HIVE-19357.02.patch > > > This could be limited to assert exceptions; but might interfere with other > exceptions...discovered while "fixing" testreopt after HIVE-19269 > {code} > create table tu(id_uv int,id_uw int,u int); > create table tv(id_uv int,v int); > create table tw(id_uw int,w int); > insert into tu values > (10,10,10),(1,1,1),(2,2,2),(3,3,3),(4,4,4),(5,5,5),(6,6,6); > insert into tv values (10,10),(1,1),(2,2),(3,3); > insert into tw values > (10,10),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); > set zzz=0; > set hive.vectorized.execution.enabled=false; > select assert_true(${hiveconf:zzz}>sum(1)) from tu join tv on > (tu.id_uv=tv.id_uv) where u<10 and v>1; > -- fails as expected > set hive.vectorized.execution.enabled=true; > select assert_true(${hiveconf:zzz}>sum(1)) from tu join tv on > (tu.id_uv=tv.id_uv) where u<10 and v>1; > -- there is a result set > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)