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 2019/12/29 05:02:33 UTC

[GitHub] [carbondata] jackylk commented on a change in pull request #3542: [CARBONDATA-3640] Insert from stage command support partition table

jackylk commented on a change in pull request #3542: [CARBONDATA-3640] Insert from stage command support partition table
URL: https://github.com/apache/carbondata/pull/3542#discussion_r361827544
 
 

 ##########
 File path: integration/flink/src/test/scala/org/apache/carbon/flink/TestCarbonPartitionWriter.scala
 ##########
 @@ -189,4 +194,20 @@ class TestCarbonPartitionWriter extends QueryTest {
     output.asScala
   }
 
+  private def delDir(dir: File): Boolean = {
+    if (dir.isDirectory) {
+      val children = dir.list
+      if (children != null) {
+        var i = 0
+        while (i < children.length) {
 
 Review comment:
   declare a val like `val len = children.length`

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


With regards,
Apache Git Services