Skip to content

Commit

Permalink
Allow Column type for arguments in timestamp functions (zero323#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Tsai committed Mar 26, 2020
1 parent 3c4684a commit 726501b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/3/pyspark/sql/functions.pyi
Expand Up @@ -97,8 +97,8 @@ def from_unixtime(timestamp: ColumnOrName, format: str = ...) -> Column: ...
def unix_timestamp(
timestamp: Optional[ColumnOrName] = ..., format: str = ...
) -> Column: ...
def from_utc_timestamp(timestamp: ColumnOrName, tz: str) -> Column: ...
def to_utc_timestamp(timestamp: ColumnOrName, tz: str) -> Column: ...
def from_utc_timestamp(timestamp: ColumnOrName, tz: Union[Column, str]) -> Column: ...
def to_utc_timestamp(timestamp: ColumnOrName, tz: Union[Column, str]) -> Column: ...
def window(
timeColumn: ColumnOrName,
windowDuration: str,
Expand Down

0 comments on commit 726501b

Please sign in to comment.