Skip to content

Commit

Permalink
Fix issue-3129 (#3131)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfengHKU committed Mar 24, 2024
1 parent 3ce064d commit 3813eed
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/processor/operator/hash_join/join_hash_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,22 +245,22 @@ void JoinHashTable::getHashFunction(PhysicalTypeID physicalTypeID, hash_function
} break;
case PhysicalTypeID::INT8: {
func = hashEntry<int8_t>;
}
} break;
case PhysicalTypeID::UINT64: {
func = hashEntry<uint64_t>;
}
} break;
case PhysicalTypeID::UINT32: {
func = hashEntry<uint32_t>;
}
} break;
case PhysicalTypeID::UINT16: {
func = hashEntry<uint16_t>;
}
} break;
case PhysicalTypeID::UINT8: {
func = hashEntry<uint8_t>;
}
} break;
case PhysicalTypeID::INT128: {
func = hashEntry<int128_t>;
}
} break;
case PhysicalTypeID::DOUBLE: {
func = hashEntry<double>;
} break;
Expand Down
13 changes: 13 additions & 0 deletions test/test_files/issue/issue2.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3813eed

Please sign in to comment.