You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ja...@apache.org on 2022/08/17 00:00:43 UTC

[pinot] branch master updated: fix UT failure on explain plan (#9226)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2aa2165367 fix UT failure on explain plan (#9226)
2aa2165367 is described below

commit 2aa2165367696fb0085f7343e7d07efda4839dba
Author: Xiaobing <61...@users.noreply.github.com>
AuthorDate: Tue Aug 16 17:00:36 2022 -0700

    fix UT failure on explain plan (#9226)
---
 .../test/java/org/apache/pinot/queries/ExplainPlanQueriesTest.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pinot-core/src/test/java/org/apache/pinot/queries/ExplainPlanQueriesTest.java b/pinot-core/src/test/java/org/apache/pinot/queries/ExplainPlanQueriesTest.java
index 688f7cfb18..9dcd22c9d9 100644
--- a/pinot-core/src/test/java/org/apache/pinot/queries/ExplainPlanQueriesTest.java
+++ b/pinot-core/src/test/java/org/apache/pinot/queries/ExplainPlanQueriesTest.java
@@ -193,6 +193,8 @@ public class ExplainPlanQueriesTest extends BaseQueriesTest {
     List<String> jsonIndexColumns = Arrays.asList(COL1_JSON_INDEX);
     indexingConfig.setJsonIndexColumns(jsonIndexColumns);
 
+    List<String> textIndexColumns = Arrays.asList(COL1_TEXT_INDEX);
+
     SegmentGeneratorConfig segmentGeneratorConfig = new SegmentGeneratorConfig(TABLE_CONFIG, SCHEMA);
     segmentGeneratorConfig.setTableName(RAW_TABLE_NAME);
     segmentGeneratorConfig.setSegmentName(segmentName);
@@ -206,7 +208,8 @@ public class ExplainPlanQueriesTest extends BaseQueriesTest {
     indexLoadingConfig.setTableConfig(TABLE_CONFIG);
     indexLoadingConfig.setInvertedIndexColumns(new HashSet<>(invertedIndexColumns));
     indexLoadingConfig.setRangeIndexColumns(new HashSet<>(rangeIndexColumns));
-    indexLoadingConfig.setJsonIndexColumns(new HashSet<String>(jsonIndexColumns));
+    indexLoadingConfig.setJsonIndexColumns(new HashSet<>(jsonIndexColumns));
+    indexLoadingConfig.setTextIndexColumns(new HashSet<>(textIndexColumns));
     indexLoadingConfig.setReadMode(ReadMode.mmap);
 
     _segmentNames.add(segmentName);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org