You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2020/04/27 05:22:21 UTC

[GitHub] [carbondata] Indhumathi27 commented on a change in pull request #3723: [CARBONDATA-3779]BlockletIndexInputFormat object instantiation failed due to mismatch in constructor params

Indhumathi27 commented on a change in pull request #3723:
URL: https://github.com/apache/carbondata/pull/3723#discussion_r415518496



##########
File path: integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/allqueries/TestQueryWithColumnMetCacheAndCacheLevelProperty.scala
##########
@@ -340,5 +340,15 @@ class TestQueryWithColumnMetCacheAndCacheLevelProperty extends QueryTest with Be
     sql("DROP table IF EXISTS carbonCahe")
   }
 
-
+  test("Test query with parallel index load") {
+    CarbonProperties.getInstance()
+      .addProperty(CarbonCommonConstants.CARBON_LOAD_INDEXES_PARALLEL, "true")
+    sql("drop table if exists parallel_index_load")
+    sql("CREATE table parallel_index_load (a STRING, b STRING, c INT) STORED AS carbondata")
+    sql("insert into parallel_index_load select 'aa', 'bb', 1")
+    sql("insert into parallel_index_load select 'cc', 'dd', 2")
+    sql("insert into parallel_index_load select 'ee', 'ff', 3")
+    sql("select a, b from parallel_index_load").show()

Review comment:
       can change it to `.collect()`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org