Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/22568#discussion_r220878993 --- Diff: python/pyspark/sql/tests.py --- @@ -5525,32 +5525,69 @@ def data(self): .withColumn("v", explode(col('vs'))).drop('vs') def test_supported_types(self): - from pyspark.sql.functions import pandas_udf, PandasUDFType, array, col - df = self.data.withColumn("arr", array(col("id"))) + from pyspark.sql.functions import pandas_udf, PandasUDFType + from decimal import Decimal - # Different forms of group map pandas UDF, results of these are the same + input_values_with_schema = ( --- End diff -- can we avoid vertical align
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org