amaliujia commented on code in PR #38086:
URL: https://github.com/apache/spark/pull/38086#discussion_r998897479
##########
python/pyspark/sql/connect/readwriter.py:
##########
@@ -29,8 +37,114 @@ class DataFrameReader:
TODO(SPARK-40539) Achieve parity with PySpark.
"""
- def __init__(self, client: "RemoteSparkSession") -> None:
+ def __init__(self, client: "RemoteSparkSession"):
self._client = client
+ self._format = ""
+ self._schema = ""
+ self._options: Dict[str, str] = {}
+
+ def format(self, source: str) -> "DataFrameReader":
Review Comment:
Yes these are to match DataFrame API.
--
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]