-
- Downloads
[SPARK-16415][SQL] fix catalog string error
## What changes were proposed in this pull request? In #13537 we truncate `simpleString` if it is a long `StructType`. But sometimes we need `catalogString` to reconstruct `TypeInfo`, for example in description of [SPARK-16415 ](https://issues.apache.org/jira/browse/SPARK-16415). So we need to keep the implementation of `catalogString` not affected by our truncate. ## How was this patch tested? added a test case. Author: Daoyuan Wang <daoyuan.wang@intel.com> Closes #14089 from adrian-wang/catalogstring.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/types/StructType.scala 6 additions, 0 deletions...rc/main/scala/org/apache/spark/sql/types/StructType.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveMetastoreCatalogSuite.scala 11 additions, 3 deletions...org/apache/spark/sql/hive/HiveMetastoreCatalogSuite.scala
Please register or sign in to comment