Description
The current `Datset.showString` prints rows thru `RowEncoder` deserializers like;
scala> Seq(Seq(Seq(1, 2), Seq(3), Seq(4, 5, 6))).toDF("a").show(false) +------------------------------------------------------------+ |a | +------------------------------------------------------------+ |[WrappedArray(1, 2), WrappedArray(3), WrappedArray(4, 5, 6)]| +------------------------------------------------------------+
This result is incorrect because the correct one is;
scala> Seq(Seq(Seq(1, 2), Seq(3), Seq(4, 5, 6))).toDF("a").show(false) +------------------------+ |a | +------------------------+ |[[1, 2], [3], [4, 5, 6]]| +------------------------+
Attachments
Issue Links
- is related to
-
SPARK-25824 Remove duplicated map entries in `showString`
- Resolved
- links to