HyukjinKwon edited a comment on issue #21732: [SPARK-24762][SQL] Enable Option of Product encoders URL: https://github.com/apache/spark/pull/21732#issuecomment-450162037 re: https://github.com/apache/spark/pull/21732#issuecomment-450160499 I was thinking both below ```scala Seq(Some((1, "a")), Some((2, "b"))).toDF.show() Seq((1, "a"), (2, "b")).toDF.show() ``` should produce the same result since ```scala Seq(Some(1), Some(2)).toDF.show() Seq(1, 2).toDF.show() ``` produces the same results anyhow. Apparently this looks why it has been disallowed.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
