Github user kiszk commented on a diff in the pull request:
https://github.com/apache/spark/pull/19330#discussion_r141443563
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/types/MapType.scala ---
@@ -33,9 +36,10 @@ import org.apache.spark.annotation.InterfaceStability
*/
@InterfaceStability.Stable
case class MapType(
- keyType: DataType,
- valueType: DataType,
- valueContainsNull: Boolean) extends DataType {
+ keyType: DataType,
+ valueType: DataType,
+ valueContainsNull: Boolean,
+ ordered: Boolean = false) extends DataType {
--- End diff --
Do we need to take care of `ordered` in `buildFormattedString` and
`jsonValue`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]