From 2cbc7da74f59ed29233c6165c5df58abd3b0a81f Mon Sep 17 00:00:00 2001 From: hezuojiao Date: Mon, 14 Aug 2023 12:42:46 +0000 Subject: [PATCH] Fix window function serialize item mismatch during upgrade --- src/objit/include/objit/common/ob_item_type.h | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/objit/include/objit/common/ob_item_type.h b/src/objit/include/objit/common/ob_item_type.h index c8ea1863dd..80d89b6133 100755 --- a/src/objit/include/objit/common/ob_item_type.h +++ b/src/objit/include/objit/common/ob_item_type.h @@ -836,6 +836,29 @@ typedef enum ObItemType T_PSEUDO_ROW_TRANS_INFO_COLUMN = 3012, // trans_info, only for defensive check T_PSEUDO_GROUP_PARAM = 3040, T_PSEUDO_EXTERNAL_FILE_COL = 3041, + T_WINDOW_FUNCTION = 3151, + T_WIN_GENERALIZED_WINDOW, + T_WIN_NEW_GENERALIZED_WINDOW, + T_WIN_WINDOW, + T_WIN_NAMED_WINDOWS, + T_WIN_NAMED_WINDOW, + T_WIN_BOUND, + T_WIN_INTERVAL, + T_WIN_FUN_ROW_NUMBER, + T_WIN_FUN_RANK, + T_WIN_FUN_DENSE_RANK, + T_WIN_FUN_PERCENT_RANK, + T_WIN_FUN_SUM, + T_WIN_FUN_MAX, + T_WIN_FUN_NTILE, + T_WIN_FUN_NTH_VALUE, + T_WIN_FUN_FIRST_VALUE, + T_WIN_FUN_LAST_VALUE, + T_WIN_FUN_CUME_DIST, + T_WIN_FUN_LEAD, + T_WIN_FUN_LAG, + T_WIN_FUN_AVG, + T_WIN_FUN_RATIO_TO_REPORT, ///< @note values of the following symbols are insiginificant T_DEFAULT, @@ -956,29 +979,6 @@ typedef enum ObItemType T_CONSTR_UNIQUE_KEY, T_CONSTR_SRID, T_CHECK_CONSTRAINT, - T_WINDOW_FUNCTION, - T_WIN_GENERALIZED_WINDOW, - T_WIN_NEW_GENERALIZED_WINDOW, - T_WIN_WINDOW, - T_WIN_NAMED_WINDOWS, - T_WIN_NAMED_WINDOW, - T_WIN_BOUND, - T_WIN_INTERVAL, - T_WIN_FUN_ROW_NUMBER, - T_WIN_FUN_RANK, - T_WIN_FUN_DENSE_RANK, - T_WIN_FUN_PERCENT_RANK, - T_WIN_FUN_SUM, - T_WIN_FUN_MAX, - T_WIN_FUN_NTILE, - T_WIN_FUN_NTH_VALUE, - T_WIN_FUN_FIRST_VALUE, - T_WIN_FUN_LAST_VALUE, - T_WIN_FUN_CUME_DIST, - T_WIN_FUN_LEAD, - T_WIN_FUN_LAG, - T_WIN_FUN_AVG, - T_WIN_FUN_RATIO_TO_REPORT, T_RESPECT, T_FIRST, T_LAST,