Skip to content

Commit 67bca9e

Browse files
committed
update typing for extractStateIntervals
1 parent 6f795b9 commit 67bca9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tempo/tsdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ def extractStateIntervals(
13621362
"""
13631363

13641364
# https://spark.apache.org/docs/latest/sql-ref-null-semantics.html#comparison-operators-
1365-
def null_safe_equals(col1: Column, col2: Column) -> Column[bool]:
1365+
def null_safe_equals(col1: Column, col2: Column) -> Column:
13661366
return (
13671367
f.when(col1.isNull() & col2.isNull(), True)
13681368
.when(col1.isNull() | col2.isNull(), False)

0 commit comments

Comments
 (0)