Skip to content

Commit

Permalink
fixed incorrect negate statement for mql
Browse files Browse the repository at this point in the history
  • Loading branch information
datomo committed Nov 26, 2024
1 parent 8de4b4a commit 4f60eb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ public Expression implement( RexToLixTranslator translator, RexCall call, NullAs
if ( Objects.requireNonNull( nullAs ) == NullAs.NULL ) {
return Expressions.call( BuiltInMethod.NOT.method, translator.translateList( call.getOperands(), nullAs ) );
}
return Expressions.not( translator.translate( call.getOperands().get( 0 ), negate( nullAs ) ) );
return EnumUtils.not( translator.translate( call.getOperands().get( 0 ), negate( nullAs ) ) );
}


Expand Down

0 comments on commit 4f60eb0

Please sign in to comment.