amaliujia commented on code in PR #38546:
URL: https://github.com/apache/spark/pull/38546#discussion_r1019478368
##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -139,11 +139,9 @@ def columns(self) -> List[str]:
if self._plan is None:
return []
if "columns" not in self._cache and self._plan is not None:
- pdd = self.limit(0).toPandas()
Review Comment:
I removed this caching stuff in this PR. After we pretty much support enough
API, we can go back to build a cache layer for all metadata like API to save
RPC calls.
--
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]