[
https://issues.apache.org/jira/browse/CALCITE-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16620921#comment-16620921
]
Vladimir Sitnikov commented on CALCITE-2555:
--------------------------------------------
[~julianhyde] you often mention "people who use Calcite", however do you have
statistics on those persons?
Are they using Calcite as a library?
Are they using Calcite through JDBC API?
Have they ever seen Calcite execution plans?
Does Calcite use "x >= NULL" notation in output?
I'm sure Calcite uses >=(..., NULL) notation everywhere (execution plans, test
data, etc), so I'm perfectly sure the ones who do read changelog would
perfectly get what >=(..., NULL) is.
> RexSimplify: >=(true, null) could be simplified to null
> -------------------------------------------------------
>
> Key: CALCITE-2555
> URL: https://issues.apache.org/jira/browse/CALCITE-2555
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.17.0
> Reporter: Vladimir Sitnikov
> Assignee: Julian Hyde
> Priority: Major
> Labels: newbie
> Fix For: 1.18.0
>
>
> {code:java}
> @Test public void simplifyComparisonWithNull() {
> checkSimplify2(ge(trueLiteral, falseLiteral), "true", "true");
> checkSimplify2(ge(trueLiteral, nullBool), "null", "false");
> checkSimplify2(ge(nullBool, nullBool), "null", "false");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)