You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by da...@apache.org on 2020/11/13 07:46:40 UTC

[calcite] branch master updated: Following 4364, fix the plann diff of TpcdsTest

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

danny0405 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 c8b5622  Following 4364, fix the plann diff of TpcdsTest
c8b5622 is described below

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

    Following 4364, fix the plann 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"