dougbateman opened a new pull request #25496:  [WIP] pyspark schema.toDDL() and 
DataType.fromDDL(ddl)
URL: https://github.com/apache/spark/pull/25496
 
 
   # What changes were proposed in this pull request?
   Add a pyspark equivalent to schema.toDDL
   
   ### Why are the changes needed?
   Spark in Scala has a schema.toDDL method, but pyspark lacks an analog.
   
   ### Does this PR introduce any user-facing change?
   Yes.  This change adds DataType.toDDL and DataType.fromDDL to pyspark, 
matching
   the equivalent methods in core Spark.
   
   ### How was this patch tested?
   pyspark/sql/tests/test_types.py now has test_to_ddl()
   

----------------------------------------------------------------
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]

Reply via email to