!3469 修复hashjoin中skew batch失效的问题

Merge pull request !3469 from wanghao19920907/master_fixbug_hash
This commit is contained in:
opengauss-bot
2023-05-24 01:55:15 +00:00
committed by Gitee

View File

@ -1798,6 +1798,7 @@ static void ExecHashBuildSkewHash(HashJoinTable hashtable, Hash* node, int mcvsT
int bucket;
hashvalue = DatumGetUInt32(FunctionCall1Coll(&hashfunctions[0], hashtable->collations[0], values[i]));
hashvalue = murmurhash32(hashvalue);
/*
* While we have not hit a hole in the hashtable and have not hit