leborchuk commented on code in PR #1192: URL: https://github.com/apache/cloudberry/pull/1192#discussion_r2278467381
########## src/backend/gporca/libgpopt/src/operators/CPhysicalAgg.cpp: ########## @@ -293,11 +292,65 @@ CDistributionSpec * CPhysicalAgg::PdsMaximalHashed(CMemoryPool *mp, CColRefArray *colref_array) { GPOS_ASSERT(nullptr != colref_array); + CColRefArray *pcraResHashs = nullptr; + + if (GPOS_FTRACE(EopttraceAggRRSFirstKey)) { + pcraResHashs = GPOS_NEW(mp) CColRefArray(mp); + if (colref_array->Size() > 0) { Review Comment: Uuupss, sorry, it's my mistake GPOS_ASSERT_IMP fires only if enable_cassert enabled in configuration, which is false by default and in production environment. I'm used to the fact that in the rest of my projects assert also works in production builds. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For additional commands, e-mail: commits-h...@cloudberry.apache.org