We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6048ee5 commit 1223647Copy full SHA for 1223647
singer_sdk/streams/sql.py
@@ -11,7 +11,7 @@
11
import singer_sdk.helpers._catalog as catalog
12
from singer_sdk._singerlib import CatalogEntry, MetadataMapping
13
from singer_sdk.connectors import SQLConnector
14
-from singer_sdk.streams.core import Stream
+from singer_sdk.streams.core import REPLICATION_INCREMENTAL, Stream
15
16
if t.TYPE_CHECKING:
17
from singer_sdk.streams.core import Context
@@ -227,7 +227,7 @@ def is_sorted(self) -> bool:
227
Returns:
228
`True` if stream is sorted. Defaults to `False`.
229
"""
230
- return self.replication_key is not None
+ return self.replication_method == REPLICATION_INCREMENTAL
231
232
233
__all__ = ["SQLConnector", "SQLStream"]
0 commit comments