HyukjinKwon commented on a change in pull request #34389:
URL: https://github.com/apache/spark/pull/34389#discussion_r737068431



##########
File path: python/pyspark/pandas/namespace.py
##########
@@ -413,6 +414,10 @@ def read_csv(
             (label, col) for label, col in column_labels.items() if label not 
in index_col
         )
     else:
+        log_advice(
+            "If `index_col` is not specified for `read_csv`, "
+            "the default index is attached which is expensive."

Review comment:
       `which is expensive` -> `which can cause additional overhead`




-- 
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]

Reply via email to