From ed07e6c3273abe48532cc81a3ce535eabe8b9164 Mon Sep 17 00:00:00 2001 From: Liu Ming Date: Thu, 18 Jan 2018 19:17:50 +0000 Subject: [PATCH] [TRAFODION-2918] fix regression tests --- core/sql/regress/hive/EXPECTED003 | 2 +- core/sql/regress/hive/EXPECTED007 | 4 ++-- core/sql/regress/hive/EXPECTED030 | 18 +++++++++--------- core/sql/regress/hive/EXPECTED040 | 18 +++++++++--------- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/core/sql/regress/hive/EXPECTED003 b/core/sql/regress/hive/EXPECTED003 index dd899c8d43..4699731ac6 100644 --- a/core/sql/regress/hive/EXPECTED003 +++ b/core/sql/regress/hive/EXPECTED003 @@ -120,7 +120,7 @@ P_PROMO_SK P_PROMO_ID P_START_DATE_SK P_END_DATE_SK P_ITEM_S >>-- some negative tests >>insert into hive.ins_promotion (p_promo_sk, p_item_sk) select * from hive.promotion; -*** ERROR[4223] Target column list for insert into Hive table not supported in this software version. +*** ERROR[4223] Target column list for insert into Hive table not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. diff --git a/core/sql/regress/hive/EXPECTED007 b/core/sql/regress/hive/EXPECTED007 index 06d035bc40..2162198f75 100644 --- a/core/sql/regress/hive/EXPECTED007 +++ b/core/sql/regress/hive/EXPECTED007 @@ -301,13 +301,13 @@ TRAFODION.SCH007.VHIVEHBASE >>-- del/upd not allowed >>delete from trafodion.sch007.vhive1; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>update trafodion.sch007.vhive1 set b = 1; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. diff --git a/core/sql/regress/hive/EXPECTED030 b/core/sql/regress/hive/EXPECTED030 index d40e041e73..b7a4148dff 100644 --- a/core/sql/regress/hive/EXPECTED030 +++ b/core/sql/regress/hive/EXPECTED030 @@ -2173,25 +2173,25 @@ DESCRIPTION >>-- del/update not supported on orc or hive >>prepare s from delete from hive.hive.store2_sales_orc; -*** ERROR[4223] Update/Delete on ORC table is not supported in this software version. +*** ERROR[4223] Update/Delete on ORC table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from update hive.hive.store2_sales_orc set ss_ext_tax = 1; -*** ERROR[4223] Update/Delete on ORC table is not supported in this software version. +*** ERROR[4223] Update/Delete on ORC table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from delete from hive.hive.store_sales; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from update hive.hive.store_sales set ss_ext_tax = 1; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. @@ -2217,31 +2217,31 @@ DESCRIPTION >>prepare s from update hive.hive.store2_sales_orc set ss_net_paid = 1; -*** ERROR[4223] Update/Delete on ORC table is not supported in this software version. +*** ERROR[4223] Update/Delete on ORC table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from upsert into hive.hive.store2_sales_orc(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from insert into hive.hive.store2_sales_orc(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from upsert into hive.hive.store_sales(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from insert into hive.hive.store_sales(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. diff --git a/core/sql/regress/hive/EXPECTED040 b/core/sql/regress/hive/EXPECTED040 index 971c8f894d..8fe3212e0f 100644 --- a/core/sql/regress/hive/EXPECTED040 +++ b/core/sql/regress/hive/EXPECTED040 @@ -1949,25 +1949,25 @@ DESCRIPTION >>-- del/update not supported on parquet or hive >>prepare s from delete from hive.hive.store2_sales_parquet; -*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version. +*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from update hive.hive.store2_sales_parquet set ss_ext_tax = 1; -*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version. +*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from delete from hive.hive.store_sales; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from update hive.hive.store_sales set ss_ext_tax = 1; -*** ERROR[4223] Update/Delete on Hive table is not supported in this software version. +*** ERROR[4223] Update/Delete on Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. @@ -1993,31 +1993,31 @@ DESCRIPTION >>prepare s from update hive.hive.store2_sales_parquet set ss_net_paid = 1; -*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version. +*** ERROR[4223] Update/Delete on PARQUET table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from upsert into hive.hive.store2_sales_parquet(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from insert into hive.hive.store2_sales_parquet(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from upsert into hive.hive.store_sales(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared. >>prepare s from insert into hive.hive.store_sales(ss_sold_date_sk) values (1); -*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version. +*** ERROR[4223] Target column list specification for insert/upsert into a Hive table is not supported in this software version or edition. *** ERROR[8822] The statement was not prepared.