Github user MaxGekk commented on a diff in the pull request:
https://github.com/apache/spark/pull/21803#discussion_r203618974
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/types/StructType.scala ---
@@ -436,6 +436,14 @@ object StructType extends AbstractDataType {
Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21803#discussion_r203584039
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/types/StructType.scala ---
@@ -436,6 +436,14 @@ object StructType extends AbstractDataType {
GitHub user MaxGekk opened a pull request:
https://github.com/apache/spark/pull/21803
[SPARK-24849][SQL] Converting a value of StructType to a DDL string
## What changes were proposed in this pull request?
In the PR, I propose to extend the `StructType` object by new method