Skip to content

[BSE-4300] Support for IFF in SQLGlot #91

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 29 commits into from
Nov 27, 2024
Merged

[BSE-4300] Support for IFF in SQLGlot #91

merged 29 commits into from
Nov 27, 2024

Conversation

njriasan
Copy link
Contributor

Supports IFF in SQLGlot as Case because SQLite doesn't support IFF and SQLGlot can't properly convert it to a case statement.

@njriasan njriasan changed the base branch from main to nick/in_function November 26, 2024 18:35
@njriasan
Copy link
Contributor Author

Same with the startswith/endswith I'm going to see if I should open a bug/PR in SQLGlot to fix it this weekend.

Copy link
Contributor

@knassre-bodo knassre-bodo left a comment

Choose a reason for hiding this comment

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

Discussed over slack revising to use IIF for sqlite.

Base automatically changed from nick/in_function to main November 27, 2024 18:51
@njriasan njriasan merged commit a8f706e into main Nov 27, 2024
4 checks passed
@njriasan njriasan deleted the nick/iff_function branch November 27, 2024 20:19
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