-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
I haven't confirmed this yet, but from looking at the code there may be a problem with IS DISTINCT FROM
Here is an example query:
SELECT (1 IS NOT NULL) IS DISTINCT FROM (2 IS NOT NULL);It looks like the deparser is missing parenthesis:
Because if this is deparsed to
SELECT 1 IS NOT NULL IS DISTINCT FROM 2 IS NOT NULL;Then we get a syntax error:
[42601] ERROR: syntax error at or near "IS"
Position: 41
I don't have time to test this now, so I could be wrong, but I am opening this issue so I don't forget.
Metadata
Metadata
Assignees
Labels
No labels