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:
[email protected]
With regards,
Apache Git Services