jiaqizho commented on code in PR #1056:
URL: https://github.com/apache/cloudberry/pull/1056#discussion_r2127772354


##########
src/include/lib/simplehash.h:
##########
@@ -169,6 +170,14 @@ typedef struct SH_TYPE
 
        /* user defined data, useful for callbacks */
        void       *private_data;
+
+       /*
+        * number of times hash table is expanded
+        *
+        * Since the max size of hash table is UINT32_MAX, uint32 is good
+        * enough for the number of expanded times.
+        */
+       uint32 num_expansions;

Review Comment:
   it's cherry-pick



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