-
- Downloads
[SPARK-20873][SQL] Improve the error message for unsupported Column Type
## What changes were proposed in this pull request? Upon encountering an invalid columntype, the column type object is printed, rather than the type. This change improves this by outputting its name. ## How was this patch tested? Added a simple unit test to verify the contents of the raised exception Author: setjet <rubenljanssen@gmail.com> Closes #18097 from setjet/spark-20873.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/ColumnType.scala 1 addition, 1 deletion.../org/apache/spark/sql/execution/columnar/ColumnType.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/ColumnTypeSuite.scala 14 additions, 0 deletions...apache/spark/sql/execution/columnar/ColumnTypeSuite.scala
Please register or sign in to comment