[FEAT MERGE] [PATCH] serverless_opt

This commit is contained in:
obdev
2024-11-23 18:14:56 +00:00
committed by ob-robot
parent 2f11aaf7c8
commit c141972115
387 changed files with 4443 additions and 2193 deletions

View File

@ -86,7 +86,8 @@ void ObExprLeastTest::TearDown()
EXPECT_TRUE(OB_SUCCESS == err); \
obj.set_result_type(type); \
err = obj.calc_resultN(r,objs, N, &buf); \
_OB_LOG(INFO, "r=%s ref=%s", to_cstring(r), to_cstring(ref)); \
ObCStringHelper helper; \
_OB_LOG(INFO, "r=%s ref=%s", helper.convert(r), helper.convert(ref)); \
EXPECT_TRUE(OB_SUCCESS == err); \
EXPECT_TRUE(ref.get_type() == r.get_type()); \
if (ref.get_type() != ObNullType){\
@ -100,10 +101,11 @@ void ObExprLeastTest::TearDown()
ObExprResType type; \
ObExprTypeCtx ctx; \
int err = obj.calc_result_typeN(type, types, N, ctx); \
_OB_LOG(INFO, "err=%d type=%s", err, to_cstring(type)); \
ObCStringHelper helper; \
_OB_LOG(INFO, "err=%d type=%s", err, helper.convert(type)); \
obj.set_result_type(type); \
err = obj.calc_resultN(r, objs, N, &buf); \
_OB_LOG(INFO, "r=%s ref=%s", to_cstring(r), to_cstring(ref)); \
_OB_LOG(INFO, "r=%s ref=%s", helper.convert(r), helper.convert(ref)); \
EXPECT_TRUE(OB_SUCCESS != err);