Github user wangyum commented on a diff in the pull request:
https://github.com/apache/spark/pull/21883#discussion_r206479294
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningUtils.scala
---
@@ -284,6 +284,11 @@ object PartitioningUtils {
}.mkString("/")
}
+ def getPathFragment(partitions: TablePartitionSpec): String =
partitions.map {
+ case (k, v) =>
+ escapePathName(k) + "=" + escapePathName(v)
+ }.mkString("/")
--- End diff --
You are right. Fixed it.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]