akashrn5 commented on a change in pull request #3908:
URL: https://github.com/apache/carbondata/pull/3908#discussion_r486987021
##########
File path:
integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/standardpartition/StandardPartitionTableLoadingTestCase.scala
##########
@@ -585,6 +587,30 @@ class StandardPartitionTableLoadingTestCase extends
QueryTest with BeforeAndAfte
}
}
+ test("test partition caching") {
+
CarbonProperties.getInstance().addProperty("carbon.read.partition.hive.direct",
"false")
+ sql("drop table if exists partition_cache")
+ sql("create table partition_cache(a string) partitioned by(b int) stored
as carbondata")
+ sql("insert into partition_cache select 'k',1")
+ sql("select * from partition_cache where b = 1").collect()
Review comment:
can we add one assert to check the cache, after the load instead of
query in one scenario?
----------------------------------------------------------------
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]