Fix window function serialize item mismatch during upgrade

This commit is contained in:
hezuojiao
2023-08-14 12:42:46 +00:00
committed by ob-robot
parent bbbef4a2a8
commit 2cbc7da74f

View File

@ -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,