Skip to content

Implement EXISTS subquery for CASE (#1345) #1383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

dehowef
Copy link
Member

@dehowef dehowef commented Nov 8, 2023

Modified logic of EXISTS to wrap itself in a agtype cast. This allows EXISTS to work with in CASE statements, among other implementations that may require an agtype.

Also renamed the wrapper function to be more generic to denote its usage in other implementations if need be.

Added regression tests for EXISTS

@github-actions github-actions bot added the PG13 PostgreSQL13 label Nov 8, 2023
Modified logic of EXISTS to wrap itself in a agtype cast. This
allows EXISTS to work with in CASE statements, among other
implementations that may require an agtype.

Also renamed the wrapper function to be more generic to denote
its usage in other implementations if need be.

Added regression tests for EXISTS
@dehowef dehowef force-pushed the PG13_casesubquery_exists branch from c147c6b to 5339caa Compare November 8, 2023 01:00
@jrgemignani jrgemignani merged commit fb291a5 into apache:PG13 Nov 9, 2023
@dehowef dehowef deleted the PG13_casesubquery_exists branch November 16, 2023 16:03
@dehowef dehowef restored the PG13_casesubquery_exists branch November 16, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG13 PostgreSQL13
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants