-
Notifications
You must be signed in to change notification settings - Fork 458
Open
Description
Describe:
SELECT <column> FROM <table> JOIN <table> brings different results, when using CPU-only configurations and GPU-used configurations.
SQL with CPU-only Config:
CREATE TABLE t0(c0 INT);
CREATE TABLE t1(c1 boolean);
INSERT INTO t1(c1) VALUES(FALSE), (TRUE), (FALSE);
INSERT INTO t0(c0) VALUES(-1), (2), (-3);
ALTER SESSION SET EXECUTOR_DEVICE='CPU';
SELECT t0.c0, t1.c1 FROM t1 JOIN t0 ON TRUE;Result:
c0|c1
-1|false
2|false
-3|false
-1|true
2|true
-3|true
-1|false
2|false
-3|falseSQL with GPU-used Config:
ALTER SESSION SET EXECUTOR_DEVICE='GPU';
SELECT t0.c0, t1.c1 FROM t1 JOIN t0 ON TRUE;Result:
c0|c1
-1|false
-1|true
-1|false
2|false
2|true
2|false
-3|false
-3|true
-3|falseEnvironment:
Docker Deployment
Docker DIGEST: sha256:5af3ad3a00cbc5ce09c299b8b81cda96521a27373dbb1e59209c02358cfd9b1f
HeavyDB Version: 7.1.0-20230821-eae9ec17da
HeavyDB license: Free Edition
Metadata
Metadata
Assignees
Labels
No labels