diff --git a/src/processor/operator/hash_join/join_hash_table.cpp b/src/processor/operator/hash_join/join_hash_table.cpp index 9e7a61a370e..c17457b94f2 100644 --- a/src/processor/operator/hash_join/join_hash_table.cpp +++ b/src/processor/operator/hash_join/join_hash_table.cpp @@ -245,22 +245,22 @@ void JoinHashTable::getHashFunction(PhysicalTypeID physicalTypeID, hash_function } break; case PhysicalTypeID::INT8: { func = hashEntry; - } + } break; case PhysicalTypeID::UINT64: { func = hashEntry; - } + } break; case PhysicalTypeID::UINT32: { func = hashEntry; - } + } break; case PhysicalTypeID::UINT16: { func = hashEntry; - } + } break; case PhysicalTypeID::UINT8: { func = hashEntry; - } + } break; case PhysicalTypeID::INT128: { func = hashEntry; - } + } break; case PhysicalTypeID::DOUBLE: { func = hashEntry; } break; diff --git a/test/test_files/issue/issue2.test b/test/test_files/issue/issue2.test index fa51eba6ca1..934031e9121 100644 --- a/test/test_files/issue/issue2.test +++ b/test/test_files/issue/issue2.test @@ -3,6 +3,19 @@ -- +-CASE 3129 +-STATEMENT CREATE NODE TABLE V (id UUID, PRIMARY KEY(id)); +---- ok +-STATEMENT CREATE REL TABLE E (FROM V TO V); +---- ok +-STATEMENT CREATE (v1:V {id: UUID('11111111-1111-1111-1111-111111111111')})-[:E]->(v2:V {id: UUID('22222222-2222-2222-2222-222222222222')}); +---- ok +-STATEMENT MATCH (v:V {id: UUID('11111111-1111-1111-1111-111111111111')}) + OPTIONAL MATCH (v)-[:E]->(v1:V) + RETURN v1.id +---- 1 +22222222-2222-2222-2222-222222222222 + -CASE 3055 -STATEMENT CREATE NODE TABLE test ( id STRING, prop1 STRING, prop2 INT64, prop3 STRING, prop4 STRING, PRIMARY KEY(id) ) ---- ok