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:
[email protected]