diff --git a/CHANGELOG.md b/CHANGELOG.md index 5963a2b..39edd4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.3.7 (2020-09-04) +------------------ +Fix for time sql type. + 1.3.6 (2020-09-02) ------------------ Remove info log diff --git a/setup.py b/setup.py index 99d4298..349aa18 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ long_description = fh.read() setup(name='pipelinewise-tap-mysql', - version='1.3.6', + version='1.3.7', description='Singer.io tap for extracting data from MySQL - PipelineWise compatible', long_description=long_description, long_description_content_type='text/markdown', diff --git a/tap_mysql/sync_strategies/common.py b/tap_mysql/sync_strategies/common.py index 1a4c9d5..6c9f233 100644 --- a/tap_mysql/sync_strategies/common.py +++ b/tap_mysql/sync_strategies/common.py @@ -99,7 +99,7 @@ def row_to_singer_record(catalog_entry, version, row, columns, time_extracted): elif isinstance(elem, datetime.timedelta): if property_format == 'time': - row_to_persist=(str(elem),) # this should convert time column into 'HH:MM:SS' formatted string + row_to_persist += (str(elem),) # this should convert time column into 'HH:MM:SS' formatted string else: epoch = datetime.datetime.utcfromtimestamp(0) timedelta_from_epoch = epoch + elem