Indhumathi27 commented on a change in pull request #3620: [CARBONDATA-3700] 
Optimize pruning performance when prunning with multi…
URL: https://github.com/apache/carbondata/pull/3620#discussion_r387524406
 
 

 ##########
 File path: 
integration/spark/src/test/scala/org/apache/carbondata/spark/testsuite/blockprune/BlockPruneQueryTestCase.scala
 ##########
 @@ -59,11 +72,28 @@ class BlockPruneQueryTestCase extends QueryTest with 
BeforeAndAfterAll {
         }
       }
     }
+  }
 
+  test("test block prune without filter") {
     sql("DROP TABLE IF EXISTS blockprune")
+    sql(
+      """
+        CREATE TABLE IF NOT EXISTS blockprune (name string, id int)
+        STORED AS carbondata
+      """)
+    sql(
+      s"LOAD DATA LOCAL INPATH '$outputPath' INTO table blockprune 
options('FILEHEADER'='name,id')"
+    )
+    checkAnswer(
+      sql(
+        """
+          select * from blockprune limit 1
 
 Review comment:
   Can move the sql to single line

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to