From 8f3826c4b53b1e742ec951b8297c863fcee93b60 Mon Sep 17 00:00:00 2001 From: Dave Birdsall Date: Mon, 26 Jun 2017 16:04:37 +0000 Subject: [PATCH] [TRAFODION-266] Fix compGeneral/TEST023 expected results --- core/sql/regress/compGeneral/EXPECTED023 | 50 ++++++++++++------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/core/sql/regress/compGeneral/EXPECTED023 b/core/sql/regress/compGeneral/EXPECTED023 index 2502092bc8..febc1ea809 100644 --- a/core/sql/regress/compGeneral/EXPECTED023 +++ b/core/sql/regress/compGeneral/EXPECTED023 @@ -125,7 +125,7 @@ STEST_EMPTY OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_39_1498171331_472639 M +STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_57_1498491817_274557 M --- 1 row(s) selected. >>-- should see one row @@ -141,7 +141,7 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_39_1498171331_472639 +TRAF_SAMPLE_57_1498491817_274557 --- SQL operation complete. >> -- should be stest, stest_empty, stestc, sb_* tables + a sample table @@ -165,7 +165,7 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_35_1498171373_208835 +TRAF_SAMPLE_11_1498491857_787511 --- SQL operation complete. >> -- should be stest, stest_empty, stestc, sb_* tables + a different sample table @@ -175,7 +175,7 @@ TRAF_SAMPLE_35_1498171373_208835 OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_35_1498171373_208835 M +STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_11_1498491857_787511 M --- 1 row(s) selected. >>-- should see one row @@ -222,7 +222,7 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_9_1498171400_69439 +TRAF_SAMPLE_82_1498491889_359982 --- SQL operation complete. >> -- should be stest, stest_empty, stestc, sb_* tables + another sample table @@ -232,7 +232,7 @@ TRAF_SAMPLE_9_1498171400_69439 OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_9_1498171400_69439 I +STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_82_1498491889_359982 I --- 1 row(s) selected. >>-- should see one row @@ -256,7 +256,7 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 --- SQL operation complete. >> -- should be stest, stest_empty, stestc, sb_* tables + another sample table @@ -266,7 +266,7 @@ TRAF_SAMPLE_81_1498171430_382581 OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_81_1498171430_382581 I +STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_54_1498491924_585854 I --- 1 row(s) selected. >>-- should see one row @@ -327,7 +327,7 @@ STEST OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_81_1498171430_382581 I c1 >= 100000 +STEST TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_54_1498491924_585854 I c1 >= 100000 --- 1 row(s) selected. >> @@ -384,8 +384,8 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_19_1498171490_891019 -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 +TRAF_SAMPLE_68_1498491988_598268 --- SQL operation complete. >> @@ -394,7 +394,7 @@ TRAF_SAMPLE_81_1498171430_382581 OBJECT_NAME SAMPLE_NAME REASON LAST_WHERE_PREDICATE ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -STESTC TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_19_1498171490_891019 I c1 >= 'naaaa' +STESTC TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_68_1498491988_598268 I c1 >= 'naaaa' --- 1 row(s) selected. >> @@ -419,8 +419,8 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_19_1498171490_891019 -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 +TRAF_SAMPLE_68_1498491988_598268 --- SQL operation complete. >> -- should be the same as previous "get tables" @@ -447,8 +447,8 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_19_1498171490_891019 -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 +TRAF_SAMPLE_68_1498491988_598268 --- SQL operation complete. >> -- should be the same as previous "get tables" @@ -476,8 +476,8 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_19_1498171490_891019 -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 +TRAF_SAMPLE_68_1498491988_598268 --- SQL operation complete. >> -- should be the same as previous "get tables" @@ -488,9 +488,9 @@ TRAF_SAMPLE_81_1498171430_382581 *** ERROR[9219] Incremental UPDATE STATISTICS: An operation failed, possibly due to an invalid WHERE clause. *** ERROR[15001] A syntax error occurred at or before: -UPSERT USING LOAD INTO TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_81_1498171430_ -382581_I (SELECT * FROM TRAFODION.COMPGENERAL_TEST023.STEST WHERE 1 SAMPLE RA -NDOM 9.794000 PERCENT ); +UPSERT USING LOAD INTO TRAFODION.COMPGENERAL_TEST023.TRAF_SAMPLE_54_1498491924_ +585854_I (SELECT * FROM TRAFODION.COMPGENERAL_TEST023.STEST WHERE 1 SAMPLE RA +NDOM 9.909000 PERCENT ); ^ (162 characters from start of SQL statement) *** ERROR[8822] The statement was not prepared. @@ -508,8 +508,8 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_19_1498171490_891019 -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 +TRAF_SAMPLE_68_1498491988_598268 --- SQL operation complete. >> -- should be the same as previous "get tables" @@ -519,7 +519,7 @@ TRAF_SAMPLE_81_1498171430_382581 *** ERROR[9219] Incremental UPDATE STATISTICS: An operation failed, possibly due to an invalid WHERE clause. -*** ERROR[4001] Column BADCOL is not found. Tables in scope: TRAFODION.COMPGENERAL_TEST023.STEST. Default schema: TRAFODION.SEABASE. +*** ERROR[4001] Column BADCOL is not found. Tables in scope: TRAFODION.COMPGENERAL_TEST023.STEST. Default schema: TRAFODION.SCH. *** ERROR[8822] The statement was not prepared. @@ -560,7 +560,7 @@ SB_PERSISTENT_SAMPLES STEST STESTC STEST_EMPTY -TRAF_SAMPLE_81_1498171430_382581 +TRAF_SAMPLE_54_1498491924_585854 --- SQL operation complete. >> -- should be the same as previous "get tables" except only one sample table