crflynn commented on a change in pull request #34320:
URL: https://github.com/apache/spark/pull/34320#discussion_r827107399



##########
File path: python/pyspark/pandas/spark/utils.py
##########
@@ -143,9 +150,15 @@ def force_decimal_precision_scale(
     ...             StructField('b', StringType(), True)])),
     ...     StructField("B", DecimalType(30, 15), False)]),
     ...     precision=30, scale=15)  # doctest: +NORMALIZE_WHITESPACE
-    
StructType(List(StructField(A,StructType(List(StructField(a,MapType(DecimalType(30,15),\
-ArrayType(DecimalType(30,15),false),false),false),StructField(b,StringType,true))),true),\
-StructField(B,DecimalType(30,15),false)))
+    StructType([StructField('A',
+                            StructType([StructField('a',

Review comment:
       I'll take another look. IIRC there was some nuance with doctests and 
wrapped whitespace that was difficult to work around, which is why it has the 
odd hanging indents here.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to