Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unexpected ANTI JOIN Result #10092

@TheoristCoder

Description

@TheoristCoder

Dear Dolt Developers,
I encountered an unexpected execution result in Dolt and would greatly appreciate it if you could take a look. Let's make concerted efforts in enhancing the robustness of Dolt. Thank you very much!

CREATE TABLE t1(c0 INT, PRIMARY KEY(c0));-- Primary Key is necessary for triggering this bug

INSERT INTO t1(c0) VALUES (1);

SELECT * FROM t1 WHERE NOT EXISTS (SELECT 1 FROM  (SELECT 1) AS subQuery WHERE WEEKDAY(t1.c0));
-- Wrong Execution Result: Empty Result
-- Expected Result: 1

Commit: 33d78de

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions