airbyte-cdk 7.0.1__py3-none-any.whl → 7.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py +17 -3
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/METADATA +1 -1
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/RECORD +7 -7
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/LICENSE.txt +0 -0
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/LICENSE_SHORT +0 -0
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/WHEEL +0 -0
- {airbyte_cdk-7.0.1.dist-info → airbyte_cdk-7.0.2.dist-info}/entry_points.txt +0 -0
@@ -189,6 +189,7 @@ class ConcurrentPerPartitionCursor(Cursor):
|
|
189
189
|
# FIXME this is a temporary field the time of the migration from declarative cursors to concurrent ones
|
190
190
|
self._attempt_to_create_cursor_if_not_provided = attempt_to_create_cursor_if_not_provided
|
191
191
|
self._synced_some_data = False
|
192
|
+
self._logged_regarding_datetime_format_error = False
|
192
193
|
|
193
194
|
@property
|
194
195
|
def cursor_field(self) -> CursorField:
|
@@ -518,10 +519,23 @@ class ConcurrentPerPartitionCursor(Cursor):
|
|
518
519
|
except ValueError:
|
519
520
|
return
|
520
521
|
|
522
|
+
try:
|
523
|
+
record_cursor = self._connector_state_converter.output_format(
|
524
|
+
self._connector_state_converter.parse_value(record_cursor_value)
|
525
|
+
)
|
526
|
+
except ValueError as exception:
|
527
|
+
if not self._logged_regarding_datetime_format_error:
|
528
|
+
logger.warning(
|
529
|
+
"Skipping cursor update for stream '%s': failed to parse cursor field '%s' value %r: %s",
|
530
|
+
self._stream_name,
|
531
|
+
self._cursor_field.cursor_field_key,
|
532
|
+
record_cursor_value,
|
533
|
+
exception,
|
534
|
+
)
|
535
|
+
self._logged_regarding_datetime_format_error = True
|
536
|
+
return
|
537
|
+
|
521
538
|
self._synced_some_data = True
|
522
|
-
record_cursor = self._connector_state_converter.output_format(
|
523
|
-
self._connector_state_converter.parse_value(record_cursor_value)
|
524
|
-
)
|
525
539
|
self._update_global_cursor(record_cursor)
|
526
540
|
if not self._use_global_cursor:
|
527
541
|
self._cursor_per_partition[
|
@@ -150,7 +150,7 @@ airbyte_cdk/sources/declarative/extractors/record_selector.py,sha256=vCpwX1PVRFP
|
|
150
150
|
airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py,sha256=WJyA2OYIEgFpVP5Y3o0tIj69AV6IKkn9B16MeXaEItI,6513
|
151
151
|
airbyte_cdk/sources/declarative/extractors/type_transformer.py,sha256=d6Y2Rfg8pMVEEnHllfVksWZdNVOU55yk34O03dP9muY,1626
|
152
152
|
airbyte_cdk/sources/declarative/incremental/__init__.py,sha256=_y8H65KgdmVNpwQAzXtXzi-t9mY6bmIIAWtRAbpHfEo,295
|
153
|
-
airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py,sha256=
|
153
|
+
airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py,sha256=vaynWCXmScAuVnrbJ2T7M1Y4RSZO7ctAej-kzZJYifk,27868
|
154
154
|
airbyte_cdk/sources/declarative/interpolation/__init__.py,sha256=Kh7FxhfetyNVDnAQ9zSxNe4oUbb8CvoW7Mqz7cs2iPg,437
|
155
155
|
airbyte_cdk/sources/declarative/interpolation/filters.py,sha256=cYap5zzOxIJWCLIfbkNlpyfUhjZ8FklLroIG4WGzYVs,5537
|
156
156
|
airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py,sha256=8F3ntT_Mfo8cO9n6dCq8rTfJIpfKmzRCsVtVdhzaoGc,1964
|
@@ -457,9 +457,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
|
|
457
457
|
airbyte_cdk/utils/spec_schema_transformations.py,sha256=9YDJmnIGFsT51CVQf2tSSvTapGimITjEFGbUTSZAGTI,963
|
458
458
|
airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
|
459
459
|
airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
|
460
|
-
airbyte_cdk-7.0.
|
461
|
-
airbyte_cdk-7.0.
|
462
|
-
airbyte_cdk-7.0.
|
463
|
-
airbyte_cdk-7.0.
|
464
|
-
airbyte_cdk-7.0.
|
465
|
-
airbyte_cdk-7.0.
|
460
|
+
airbyte_cdk-7.0.2.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
|
461
|
+
airbyte_cdk-7.0.2.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
|
462
|
+
airbyte_cdk-7.0.2.dist-info/METADATA,sha256=ANx0SZJHHk5j9u3LC17Fla3jB2_IjgT5sUNYd6_-4iA,6799
|
463
|
+
airbyte_cdk-7.0.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
464
|
+
airbyte_cdk-7.0.2.dist-info/entry_points.txt,sha256=eLZ2UYvJZGm1s07Pplcs--1Gim60YhZWTb53j_dghwU,195
|
465
|
+
airbyte_cdk-7.0.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|