Skip to content

Conversation

@martint
Copy link
Member

@martint martint commented Mar 24, 2024

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Mar 24, 2024
@github-actions github-actions bot added tests:hive iceberg Iceberg connector hive Hive connector labels Mar 24, 2024
return switch (value) {
case Call inner when inner.function().getName().getFunctionName().equals(mangleOperatorName(NEGATION)) -> inner.arguments().getFirst(); // double negation
case Expression inner -> new Call(negation.function(), ImmutableList.of(inner));
case null -> null;
Copy link
Member

Choose a reason for hiding this comment

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

I've gotten the habbit of putting null firtst so I don't have to worry about it

@martint
Copy link
Member Author

martint commented Mar 25, 2024

Superseded by #21224

@martint martint closed this Mar 25, 2024
@martint martint deleted the ir-negation branch March 26, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed hive Hive connector iceberg Iceberg connector

Development

Successfully merging this pull request may close these issues.

2 participants