Github user MaxGekk commented on the issue: https://github.com/apache/spark/pull/21803 > Thing is, fromDDL was added because it's needed other APIs rather then it's own purpose. The `toDDL` function can be reused from `SHOW CREATE TABLE` too: https://github.com/apache/spark/blob/bac50aa37168a7612702a4503750a78ed5d59c78/sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala#L999 > I wonder how commonly it will be used to be honest. I haven't seen such requests before frankly. Frankly speaking I cannot say there is high demand for the method from our users. > It's one liner code and I think we haven't added APIs when the workarounds are easy usually so far. Do you think I should close the PR?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org