Skip to content

Implement EXISTS subquery for CASE (#1345) #1381

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 PG12 PostgreSQL12 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 PG12_casesubquery_exists branch from 6f620f1 to 8ee187c Compare November 8, 2023 00:58
@jrgemignani jrgemignani merged commit d0b9825 into apache:PG12 Nov 9, 2023
@dehowef dehowef deleted the PG12_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
PG12 PostgreSQL12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants