Skip to content
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

fix: Crash in aliased OpBoolean #2094

Merged
merged 2 commits into from
May 28, 2024
Merged

fix: Crash in aliased OpBoolean #2094

merged 2 commits into from
May 28, 2024

Conversation

joc-a
Copy link
Collaborator

@joc-a joc-a commented May 24, 2024

The fix was made here initially but I had to add more changes, hence this PR.

@joc-a joc-a marked this pull request as ready for review May 24, 2024 15:37
@joc-a joc-a force-pushed the joc/fix-crash-in-alias branch 2 times, most recently from 65b05b6 to 95a8db9 Compare May 27, 2024 18:13
joc-a added 2 commits May 27, 2024 20:14
Syntax errors were being thrown for Oracle and SQL Server for this SQL statement: SELECT FOO.C1, FOO.C1 < FOO.C2 c1ltc2 FROM FOO ORDER BY FOO.C1 ASC

Oracle: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
SQL Server: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '<'.
Copy link
Member

@e5l e5l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@joc-a joc-a merged commit 8bac6a0 into main May 28, 2024
5 checks passed
@joc-a joc-a deleted the joc/fix-crash-in-alias branch May 28, 2024 08:52
@joc-a joc-a linked an issue May 28, 2024 that may be closed by this pull request
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.

Using exists in subquery
3 participants