[GitHub] incubator-carbondata pull request #278: [CARBONDATA-368]Imporve performance ...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #278: [CARBONDATA-368]Imporve performance ...

qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/278#discussion_r89948611
 
    --- Diff: integration/spark/src/main/scala/org/apache/carbondata/spark/rdd/CarbonDataRDDFactory.scala ---
    @@ -932,7 +942,8 @@ object CarbonDataRDDFactory {
               loadDataFile()
             }
             val newStatusMap = scala.collection.mutable.Map.empty[String, String]
    -        status.foreach { eachLoadStatus =>
    +        if (status.nonEmpty) {
    +          status.foreach { eachLoadStatus =>
               val state = newStatusMap.get(eachLoadStatus._1)
    --- End diff --
   
    incorrect indentation


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [hidden email] or file a JIRA ticket
with INFRA.
---