HyukjinKwon commented on a change in pull request #30181:
URL: https://github.com/apache/spark/pull/30181#discussion_r514349409
##########
File path: python/pyspark/sql/readwriter.pyi
##########
@@ -125,9 +131,9 @@ class DataFrameReader(OptionUtils):
url: str,
table: str,
column: str,
- lowerBound: int,
- upperBound: int,
- numPartitions: int,
+ lowerBound: Union[int, str],
+ upperBound: Union[int, str],
+ numPartitions: Union[int, str],
Review comment:
I'll just stick this to int for `numPartitions`. BTW for `lowerBound`
and `upperBound`, now they can accept timestamp and dates in string formats,
@zero323
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]