HyukjinKwon commented on code in PR #36683:
URL: https://github.com/apache/spark/pull/36683#discussion_r883366885
##########
python/pyspark/sql/pandas/conversion.py:
##########
@@ -613,16 +613,16 @@ def _create_from_pandas_with_arrow(
@no_type_check
def reader_func(temp_filename):
- return
self._jvm.PythonSQLUtils.readArrowStreamFromFile(jsparkSession, temp_filename)
+ return
self._jvm.PythonSQLUtils.readArrowStreamFromFile(temp_filename)
@no_type_check
def create_RDD_server():
- return self._jvm.ArrowRDDServer(jsparkSession)
+ return self._jvm.ArrowIteratorServer()
# Create Spark DataFrame from Arrow stream file, using one batch per
partition
- jrdd = self._sc._serialize_to_jvm(arrow_data, ser, reader_func,
create_RDD_server)
+ jiter = self._sc._serialize_to_jvm(arrow_data, ser, reader_func,
create_RDD_server)
Review Comment:
BTW, we have a test for encryption on and off
https://github.com/apache/spark/blob/master/python/pyspark/sql/tests/test_arrow.py#L771-L774
--
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]