Skip to content

Commit

Permalink
removed json() and is_valid()
Browse files Browse the repository at this point in the history
  • Loading branch information
epinzur committed Sep 22, 2023
1 parent cd54e33 commit 7f89eaf
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 358 deletions.
1 change: 0 additions & 1 deletion python/docs/source/reference/timestream/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
Timestream.filter
Timestream.hash
Timestream.if_
Timestream.is_valid
Timestream.lag
Timestream.null_if
Timestream.pipe
Expand Down
1 change: 0 additions & 1 deletion python/docs/source/reference/timestream/string.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
.. autosummary::
:toctree: ../apidocs/
Timestream.json
Timestream.len
Timestream.lower
Timestream.substring
Expand Down
19 changes: 0 additions & 19 deletions python/pysrc/kaskada/_timestream.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,25 +321,6 @@ def hash(self) -> Timestream:
"""
return Timestream._call("hash", self)

def is_valid(self) -> Timestream:
"""Returns a Timestream containing `true` if input is `non-null`, otherwise `false`.
Notes:
Unlike many functions which return `null` if any of their
arguments are `null`, *is_valid()* will never return `null`.
"""
return Timestream._call("is_valid", self)

def json(self) -> Timestream:
"""Returns a Timestream containing an object deserialized from a json string.
Notes:
Warning `json()` is experimental functionality. You should expect the
behavior to potentially change in the future. Certain functionality,
such as nested types, are not yet supported.
"""
return Timestream._call("json", self)

def len(self) -> Timestream:
"""Return a Timestream with the length of input string.
Expand Down

This file was deleted.

6 changes: 0 additions & 6 deletions python/pytests/golden/is_valid_test/test_is_valid_f64.jsonl

This file was deleted.

6 changes: 0 additions & 6 deletions python/pytests/golden/is_valid_test/test_is_valid_i64.jsonl

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

152 changes: 0 additions & 152 deletions python/pytests/is_valid_test.py

This file was deleted.

148 changes: 0 additions & 148 deletions python/pytests/json_test.py

This file was deleted.

0 comments on commit 7f89eaf

Please sign in to comment.