You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/06/23 04:21:26 UTC

[GitHub] [spark] cloud-fan commented on a change in pull request #33023: [SPARK-35812][PYTHON] Throw ValueError if version and timestamp are used together in to_delta

cloud-fan commented on a change in pull request #33023:
URL: https://github.com/apache/spark/pull/33023#discussion_r656747652



##########
File path: python/pyspark/pandas/namespace.py
##########
@@ -562,6 +562,8 @@ def read_delta(
     3      13
     4      14
     """
+    if version is not None and timestamp is not None:
+        raise ValueError("version and timestamp cannot be used together.")

Review comment:
       how about the document?




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org