Github user jinxing64 commented on the issue: https://github.com/apache/spark/pull/19330 It seems the failed SparkR unit tests is not related. In current change, I added `trait OrderSpecified`, expressions(`BinaryComparison`, `Max`, `Min`, `SortArray`, `SortOrder`) using ordering of data type extends `OrderSpecified`. During analyzing, expressions with map type output will be wrapped in `OrderMaps` , thus changed to be an ordered map. Expressions with map type output in `Aggregate`, `Distinct` and `SetOperation` will also be wrapped in `OrderMaps`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org