Skip to content

Implement EXISTS subquery for CASE (#1345) - #1382

Merged
jrgemignani merged 1 commit into
apache:PG11from
dehowef:PG11_casesubquery_exists
Nov 9, 2023
Merged

Implement EXISTS subquery for CASE (#1345)#1382
jrgemignani merged 1 commit into
apache:PG11from
dehowef:PG11_casesubquery_exists

Conversation

@dehowef

Copy link
Copy Markdown
Member

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-actionsgithub-actionsBot added the PG11 PostgreSQL11 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
dehowefforce-pushed the PG11_casesubquery_exists branch from ddc17a2 to 5455580CompareNovember 8, 2023 00:57
@jrgemignani
jrgemignani merged commit a282bcd into apache:PG11Nov 9, 2023
@dehowef
dehowef deleted the PG11_casesubquery_exists branch November 16, 2023 16:03
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PG11PostgreSQL11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@dehowef@jrgemignani