You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by ru...@apache.org on 2019/08/08 21:49:32 UTC
[calcite] branch master updated: [CALCITE-3198] Enhance RexSimplify
to handle '(x<>a or x<>b)' (fix javadoc)
This is an automated email from the ASF dual-hosted git repository.
rubenql pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new fb797bb [CALCITE-3198] Enhance RexSimplify to handle '(x<>a or x<>b)' (fix javadoc)
fb797bb is described below
commit fb797bbf428a0a949a792b3bc01b612049cb22fc
Author: Ruben Quesada Lopez <ru...@gmail.com>
AuthorDate: Thu Aug 8 23:11:53 2019 +0200
[CALCITE-3198] Enhance RexSimplify to handle '(x<>a or x<>b)' (fix javadoc)
---
.../test/java/org/apache/calcite/test/RelOptRulesTest.java | 12 ++++++------
.../test/java/org/apache/calcite/test/RexProgramTest.java | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java b/core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java
index cee74cc..28d2979 100644
--- a/core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java
+++ b/core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java
@@ -2174,7 +2174,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDup3() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
@@ -2188,7 +2188,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDup3Null() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
@@ -2202,7 +2202,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDupNot() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
@@ -2216,7 +2216,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDupNotNull() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
@@ -2230,7 +2230,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDupNot2() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
@@ -2244,7 +2244,7 @@ public class RelOptRulesTest extends RelOptTestBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testReduceConstantsDupNot2Null() throws Exception {
HepProgram program = new HepProgramBuilder()
.addRuleInstance(ReduceExpressionsRule.FILTER_INSTANCE)
diff --git a/core/src/test/java/org/apache/calcite/test/RexProgramTest.java b/core/src/test/java/org/apache/calcite/test/RexProgramTest.java
index 04a5f3b..b2c4085 100644
--- a/core/src/test/java/org/apache/calcite/test/RexProgramTest.java
+++ b/core/src/test/java/org/apache/calcite/test/RexProgramTest.java
@@ -1495,7 +1495,7 @@ public class RexProgramTest extends RexProgramBuilderBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testSimplifyOrNotEqualsNotNullable() {
checkSimplify(
or(
@@ -1506,7 +1506,7 @@ public class RexProgramTest extends RexProgramBuilderBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testSimplifyOrNotEqualsNotNullable2() {
checkSimplify(
or(
@@ -1518,7 +1518,7 @@ public class RexProgramTest extends RexProgramBuilderBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testSimplifyOrNotEqualsNullable() {
checkSimplify3(
or(
@@ -1529,7 +1529,7 @@ public class RexProgramTest extends RexProgramBuilderBase {
/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-3198">[CALCITE-3198]
- * Enhance RexSimplify to handle (x<>a or x<>b)</a>. */
+ * Enhance RexSimplify to handle (x!=a or x!=b)</a>. */
@Test public void testSimplifyOrNotEqualsNullable2() {
checkSimplify3(
or(