You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/05/24 21:55:00 UTC
[calcite] 01/02: Improve display of reproducer code in
RexFuzzerTest for SqlStdOperatorTable.MULTIPLY
This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
commit e0cbcd822146225c5dcd158bace39177858586cb
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Sat May 25 00:47:36 2019 +0300
Improve display of reproducer code in RexFuzzerTest for SqlStdOperatorTable.MULTIPLY
It was displayed as SqlStdOperatorTable.*, however mul(a, b) should be used
---
.../test/java/org/apache/calcite/test/fuzzer/RexToTestCodeShuttle.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/src/test/java/org/apache/calcite/test/fuzzer/RexToTestCodeShuttle.java b/core/src/test/java/org/apache/calcite/test/fuzzer/RexToTestCodeShuttle.java
index bfcb84a..01718c0 100644
--- a/core/src/test/java/org/apache/calcite/test/fuzzer/RexToTestCodeShuttle.java
+++ b/core/src/test/java/org/apache/calcite/test/fuzzer/RexToTestCodeShuttle.java
@@ -65,6 +65,7 @@ public class RexToTestCodeShuttle extends RexVisitorImpl<String> {
.put(SqlStdOperatorTable.UNARY_PLUS, "unaryPlus")
.put(SqlStdOperatorTable.MINUS, "sub")
.put(SqlStdOperatorTable.UNARY_MINUS, "unaryMinus")
+ .put(SqlStdOperatorTable.MULTIPLY, "mul")
.build();