carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jackylk <...@git.apache.org>
Subject [GitHub] carbondata pull request #1755: [CARBONDATA-1976][PARTITION] Support combinat...
Date Thu, 04 Jan 2018 07:24:30 GMT
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1755#discussion_r159591690
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonLoadDataCommand.scala
---
    @@ -611,7 +611,7 @@ case class CarbonLoadDataCommand(
           val output = if (partition.nonEmpty) {
             catalogTable.schema.map{ attr =>
               attributes.find(_.name.equalsIgnoreCase(attr.name)).get
    -        }.filter(attr => partition.get(attr.name).isEmpty)
    +        }.filter(attr => partition.getOrElse(attr.name, None).isEmpty)
    --- End diff --
    
    It seems the same as before?


---

Mime
View raw message