PedroCorreiaLuis opened a new pull request #26319: Fix SPARK-29594: Create a Dataset from a Sequence of Case class where… URL: https://github.com/apache/spark/pull/26319 … a field name started with a number: improved exception handling. Added test. ### What changes were proposed in this pull request? This pr is to fix a bug discovered by me, [SPARK-29594], when creating a Dataset using .toDS() in a sequence of a case class that had a field name starting with a number. The exception was improved, now explains why it breaks, and gives a work around of the problem. ### Why are the changes needed? Bug fix ### Does this PR introduce any user-facing change? No ### How was this patch tested? Tests were added, sql/core/src/test/scala/org/apache/spark/sql/DatasetSuite.scala
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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]
