Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kiszk committed Feb 21, 2018
1 parent c8c4441 commit 772e672
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -486,7 +486,8 @@ object PartitioningUtils {
val equality = columnNameEquality(caseSensitive)
StructType(partitionColumns.map { col =>
schema.find(f => equality(f.name, col)).getOrElse {
throw new AnalysisException(s"Partition column $col not found in schema $schema")
val schemaCatalog = schema.catalogString
throw new AnalysisException(s"Partition column $col not found in schema $schemaCatalog")
}
}).asNullable
}
Expand Down

0 comments on commit 772e672

Please sign in to comment.