dougbateman opened a new pull request #25495: [WIP] repr(schema) and schema.toString produce runnable code URL: https://github.com/apache/spark/pull/25495 # What changes were proposed in this pull request? repr(schema) produces runnable python code schema.toString produce runnable scala code ### Why are the changes needed? Previously, schema.toString produced scala code that wasn't runnable because field-names weren't quoted. Even worse, repr(schema) in python produced the same non-runnable scala code. This resolves both issues, so that runnable Scala and Python are available. ### Does this PR introduce any user-facing change? Yes, see above. ### How was this patch tested? pyspark/sql/tests/test_types.py now has test_repr()
---------------------------------------------------------------- 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]
