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