Skip to content

Commit 4f2ace8

Browse files
committed
chore: add is_sorted flag to incremental entities
1 parent c1fad5b commit 4f2ace8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tap_superset/streams.py

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ class ChartsStream(SupersetStream):
5858
path = "/api/v1/chart/"
5959
primary_keys: t.List[str] = ["id"]
6060
replication_key: str = "last_saved_at"
61+
is_sorted: bool = True
6162
schema: t.Any = th.PropertiesList(
6263
th.Property("is_managed_externally", th.BooleanType),
6364
th.Property("certified_by", th.StringType),
@@ -88,6 +89,7 @@ class LogsStream(SupersetStream):
8889
path = "/api/v1/log/"
8990
primary_keys: t.List[str] = ["id"]
9091
replication_key: str = "dttm"
92+
is_sorted: bool = True
9193
schema: t.Any = th.PropertiesList(
9294
th.Property("action", th.StringType),
9395
th.Property("dttm", th.DateTimeType),

0 commit comments

Comments
 (0)