This is an automated email from the ASF dual-hosted git repository. avamingli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit dde8910fc107e7078f72366d3e7521122de0b32a Author: Chris Hajas <[email protected]> AuthorDate: Thu Feb 1 17:15:41 2024 -0800 Fix fallback in debug build due to scalar with invalid return type This is exposed by Orca's support for query parameters. In retail build it would still run fine, but it's better to make this explicit. --- src/backend/gporca/libgpopt/src/xforms/CXformUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/gporca/libgpopt/src/xforms/CXformUtils.cpp b/src/backend/gporca/libgpopt/src/xforms/CXformUtils.cpp index 299a579df5..5a47a7c13a 100644 --- a/src/backend/gporca/libgpopt/src/xforms/CXformUtils.cpp +++ b/src/backend/gporca/libgpopt/src/xforms/CXformUtils.cpp @@ -3263,6 +3263,7 @@ CXformUtils::FHasAmbiguousType(CExpression *pexpr, CMDAccessor *md_accessor) case COperator::EopScalarProjectList: case COperator::EopScalarProjectElement: case COperator::EopScalarSwitchCase: + case COperator::EopScalarArrayRefIndexList: break; // these operators do not have valid return type default: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
