GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/21804
[SPARK-24268][SQL] Use datatype.catalogString in error messages ## What changes were proposed in this pull request? As stated in https://github.com/apache/spark/pull/21321, in the error messages we should use `catalogString`. This is not the case, as SPARK-22893 used `simpleString` in order to have the same representation everywhere and it missed some places. The PR unifies the messages using alway the `catalogString` representation of the dataTypes in the messages. ## How was this patch tested? existing/modified UTs You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-24268_catalog Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21804.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21804 ---- commit eb786655387ecf7320d9b4957b45564253fb1af4 Author: Marco Gaido <marcogaido91@...> Date: 2018-07-18T14:47:12Z [SPARK-24268][SQL] Use datatype.catalogString in error messages ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org