HyukjinKwon commented on code in PR #45481:
URL: https://github.com/apache/spark/pull/45481#discussion_r1592194102
##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -1775,6 +1775,10 @@ def _to_table(self) -> Tuple["pa.Table",
Optional[StructType]]:
assert table is not None
return (table, schema)
+ def _toArrow(self) -> "pa.Table":
Review Comment:
Yeah, the current state looks a bit weird. We should either explicitly add
an developer API, or just don't. My only question is that we can work around
via `SparkSession.client.to_table()`, and we're going forward to Spark Connect
default. Considering this is a developer API, I wonder if we should add this
into DataFrame at this moment.
--
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]