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 EXISTS tests #68

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Fix EXISTS tests #68

merged 1 commit into from
Nov 15, 2023

Conversation

danieljharvey
Copy link
Collaborator

What

Fixes the EXISTS tests by using 1 = 1 as our boolean constant. I know.

How

Re-enable tests, fix pretty printer.

@@ -191,7 +191,7 @@ impl Join {
sql.append_syntax(")");
sql.append_syntax(" AS ");
join.alias.to_sql(sql);
sql.append_syntax(" ON ('true') ");
sql.append_syntax(" ON (1 = 1) ");
Copy link
Contributor

Choose a reason for hiding this comment

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

yum

Copy link
Contributor

Choose a reason for hiding this comment

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

would just 1 work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I had hoped so, but no.

@danieljharvey danieljharvey added this pull request to the merge queue Nov 15, 2023
Merged via the queue into main with commit edda90b Nov 15, 2023
6 checks passed
@SamirTalwar SamirTalwar deleted the djh/fix-exists branch November 20, 2023 17:02
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.

2 participants