yjhjstz commented on code in PR #1719:
URL: https://github.com/apache/cloudberry/pull/1719#discussion_r3204525613


##########
src/backend/gporca/libgpopt/include/gpopt/base/CUtils.h:
##########
@@ -1026,6 +1026,21 @@ class CUtils
        static CTableDescriptorHashSet *RemoveDuplicateMdids(
                CMemoryPool *mp, CTableDescriptorHashSet *tabdescs);
 
+       // hash set from CTE ids
+       typedef CHashSet<ULONG, gpos::HashValue<ULONG>, gpos::Equals<ULONG>,
+                                        CleanupDelete<ULONG> >
+               UlongCteIdHashSet;
+
+       static void CollectConsumersAndProducers(CMemoryPool *mp,
+                                                                               
         CExpression *pexpr,
+                                                                               
         ULongPtrArray *cteConsumers,
+                                                                               
         UlongCteIdHashSet *cteProducerSet);
+
+       static BOOL hasUnpairedCTEConsumer(CMemoryPool *mp, CExpression *pexpr);

Review Comment:
   remove `FHasUnpairedCTEConsumer` dead code  ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to