Skip to content

[GPU Logic Bug] SELECT <column> FROM <table> Brings Errors #834

@qwebug

Description

@qwebug

Describe:

SELECT <column> FROM <table> brings different results, when using CPU-only configurations and GPU-used configurations.

SQL with CPU-only Config:

CREATE TABLE t1(c0 FLOAT NULL);
INSERT INTO t1(c0) VALUES('Infinity');
INSERT INTO t1(c0) VALUES(0.1);
ALTER SESSION SET EXECUTOR_DEVICE='CPU';
SELECT CAST(CAST(t1.c0 AS INT) AS BOOLEAN) FROM t1;

Result:

EXPR$0
NULL
false

SQL with GPU-used Config:

ALTER SESSION SET EXECUTOR_DEVICE='GPU';
SELECT CAST(CAST(t1.c0 AS INT) AS BOOLEAN) FROM t1;

Result:

EXPR$0
true
false

Environment:

Docker Deployment

https://hub.docker.com/layers/heavyai/heavyai-ee-cuda/latest/images/sha256-5af3ad3a00cbc5ce09c299b8b81cda96521a27373dbb1e59209c02358cfd9b1f?context=explore

Docker DIGEST: sha256:5af3ad3a00cbc5ce09c299b8b81cda96521a27373dbb1e59209c02358cfd9b1f

HeavyDB Version: 7.1.0-20230821-eae9ec17da

HeavyDB license: Free Edition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions