citusdata / citusdata/citus

No Hash Function Defined for Type Money

Open
#5,989 0 comments 0 reactions 0 assignees View on GitHub
sqlancer
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

``` SQL
SET citus.enable_repartition_joins to ON;

CREATE TABLE tbl1(a money , b INT);
CREATE TABLE tbl2(a money , b INT);
SELECT create_distributed_table('tbl1', 'b');
SELECT create_distributed_table('tbl2', 'b');

SELECT * FROM tbl1, tbl2 WHERE tbl2.a=tbl1.a;
```
```
ERROR: no hash function defined for type money
CONTEXT: while executing command on localhost:9702
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.