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: do not create case when stmts for comparison operators #242

Closed
wants to merge 10 commits into from

Conversation

johannes-vogel
Copy link
Contributor

No description provided.

@BobdenOs BobdenOs marked this pull request as ready for review November 29, 2023 11:18
@BobdenOs BobdenOs enabled auto-merge (squash) November 29, 2023 11:18
@BobdenOs BobdenOs disabled auto-merge November 29, 2023 11:18
Copy link
Contributor

@danjoa danjoa left a comment

Choose a reason for hiding this comment

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

Let's pls review in sync meeting

Comment on lines +649 to +659
'==': true,
'!=': false,
// REVISIT: not required for now. application must do case when statement themselves
// These operators are not allowed in column expressions
'>': null,
'<': null,
'<>': null,
'>=': null,
'<=': null,
'!<': null,
'!>': null,
// '>': null,
// '<': null,
// '<>': null,
// '>=': null,
// '<=': null,
// '!<': null,
// '!>': null,
Copy link
Contributor

Choose a reason for hiding this comment

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

Would that change specified behavior?

Copy link
Contributor

Choose a reason for hiding this comment

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

This change only impacts the usage of these operators where HANA does not allow for them.

SELECT 1>0 as gt FROM DUMMY

Currently considering to close this PR as #426 does the same with more fixes.

@johannes-vogel johannes-vogel added the next release pr to be checked for next release label Jan 30, 2024
@johannes-vogel
Copy link
Contributor Author

obsolete due to #426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release pr to be checked for next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants