Skip to content

Commit c0bc645

Browse files
committed
Fix cursor value from record
1 parent 05f4db7 commit c0bc645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

airbyte_cdk/sources/declarative/incremental/concurrent_partition_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ def observe(self, record: Record) -> None:
363363
"Invalid state as stream slices that are emitted should refer to an existing cursor"
364364
)
365365

366-
record_cursor = self._connector_state_converter.parse_value(
367-
self._cursor_field.extract_value(record)
366+
record_cursor = self._connector_state_converter.output_format(
367+
self._connector_state_converter.parse_value(self._cursor_field.extract_value(record))
368368
)
369369
self._update_global_cursor(record_cursor)
370370
if not self._use_global_cursor:

0 commit comments

Comments
 (0)