You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2020/11/16 18:35:04 UTC

[calcite] 01/01: Following [CALCITE-4364], fix the plan diff of TpcdsTest

This is an automated email from the ASF dual-hosted git repository.

jhyde pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 3ccad7b2bcc962d48c1dee1c9604fd085d82c608
Author: yuzhao.cyz <yu...@gmail.com>
AuthorDate: Fri Nov 13 10:49:57 2020 +0800

    Following [CALCITE-4364], fix the plan diff of TpcdsTest
---
 .../src/test/java/org/apache/calcite/adapter/tpcds/TpcdsTest.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/plus/src/test/java/org/apache/calcite/adapter/tpcds/TpcdsTest.java b/plus/src/test/java/org/apache/calcite/adapter/tpcds/TpcdsTest.java
index f0a868e..927167a 100644
--- a/plus/src/test/java/org/apache/calcite/adapter/tpcds/TpcdsTest.java
+++ b/plus/src/test/java/org/apache/calcite/adapter/tpcds/TpcdsTest.java
@@ -384,11 +384,9 @@ class TpcdsTest {
         + "LogicalSort(sort0=[$1], sort1=[$0], dir0=[ASC], dir1=[ASC], fetch=[100])\n"
         + "  LogicalAggregate(group=[{84, 90}], AGG1=[AVG($10)], AGG2=[AVG($12)], AGG3=[AVG($19)], AGG4=[AVG($13)])\n"
         + "    LogicalFilter(condition=[AND(=($0, $32), =($2, $89), "
-        + "=($7, $60), =($4, $23), SEARCH($24, Sarg['M']:CHAR(1)), "
-        + "SEARCH($25, Sarg['S']:CHAR(1)), "
-        + "SEARCH($26, Sarg['HIGH SCHOOL']:CHAR(11)), "
-        + "SEARCH($38, Sarg[1998]), SEARCH($84, Sarg['CA', 'MD', 'OK', 'OR', "
-        + "'TX', 'WA']:CHAR(2)))])\n"
+        + "=($7, $60), =($4, $23), =($24, 'M'), "
+        + "=($25, 'S'), =($26, 'HIGH SCHOOL'), =($38, 1998), "
+        + "SEARCH($84, Sarg['CA', 'MD', 'OK', 'OR', 'TX', 'WA']:CHAR(2)))])\n"
         + "      LogicalJoin(condition=[true], joinType=[inner])\n"
         + "        LogicalTableScan(table=[[TPCDS, STORE_SALES]])\n"
         + "        LogicalJoin(condition=[true], joinType=[inner])\n"