Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/21427#discussion_r190793613
--- Diff: python/pyspark/sql/tests.py ---
@@ -4931,6 +4931,33 @@ def foo3(key, pdf):
expected4 = udf3.func((), pdf)
self.assertPandasEqual(expected4, result4)
+ def test_column_order(self):
+ import pandas as pd
+ from pyspark.sql.functions import pandas_udf, col, PandasUDFType
--- End diff --
seems `col` is not used btw.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]