Skip to content

[CALCITE-7842] Multiset operators return incorrect results for ROW elements - #5315

Open
tkalkirill wants to merge 1 commit into
apache:mainfrom
tkalkirill:calcite-7842
Open

tkalkirill wants to merge 1 commit into
apache:mainfrom
tkalkirill:calcite-7842

Conversation

@tkalkirill

@tkalkirill tkalkirill commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7842

Changes Proposed

Fix deep equality for ROW elements in multiset predicates and operations.

For example, this query now returns true, false instead of false, false:

SELECT ROW(1, 'Foo') MEMBER OF MULTISET[ROW(x, y)]
FROM (VALUES (1, 'Foo'), (2, 'Bar')) AS t(x, y);

@tkalkirill

Copy link
Copy Markdown
Contributor Author

I compared the function behavior just as in Oracle:
https://onecompiler.com/oracle/455nfv3x8

@sonarqubecloud

sonarqubecloud Bot commented Oct 9, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant