wangyum commented on issue #26866: [WIP][SPARK-30237][SQL] Move `sql()` method from DataType to AbstractTypemv sql method URL: https://github.com/apache/spark/pull/26866#issuecomment-565047596 manual test: ```scala scala> import org.apache.spark.sql.types.{StringType, StructField, StructType} import org.apache.spark.sql.types.{StringType, StructField, StructType} scala> StructType(StructField("operation_log", StringType) :: Nil).sql res0: String = STRUCT<`operation_log`: STRING> scala> StructType.sql res1: String = STRUCT ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
