fix(query): update the hash function for varchar data.

This commit is contained in:
Haojun Liao 2023-01-04 18:10:38 +08:00
parent c6512b09e8
commit 9cc248ec57
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ _hash_fn_t taosGetDefaultHashFunction(int32_t type) {
break; break;
case TSDB_DATA_TYPE_BINARY: case TSDB_DATA_TYPE_BINARY:
case TSDB_DATA_TYPE_NCHAR: case TSDB_DATA_TYPE_NCHAR:
fn = xxHash; fn = MurmurHash3_32;
break; break;
case TSDB_DATA_TYPE_UINT: case TSDB_DATA_TYPE_UINT:
case TSDB_DATA_TYPE_INT: case TSDB_DATA_TYPE_INT: