HyukjinKwon commented on code in PR #46194:
URL: https://github.com/apache/spark/pull/46194#discussion_r1577167281
##########
python/pyspark/__init__.py:
##########
@@ -125,8 +125,10 @@ def wrapper(self: Any, *args: Any, **kwargs: Any) -> Any:
# for backward compatibility references.
sys.modules["pyspark.context"] = context
-# for back compatibility
-from pyspark.sql import SQLContext, HiveContext, Row # noqa: F401
+ # for back compatibility
+ from pyspark.sql import SQLContext, HiveContext # noqa: F401
+
+from pyspark.sql import Row
Review Comment:
```suggestion
from pyspark.sql import Row # noqa: F401
```
--
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]