**Describe the bug** The value stored in the _sdc_batched_at field reflects the local time of the system running target-postgres but should be UTC. I believe the issue is simply this (line 68 in \_\_init\_\_.py) `extended_record['_sdc_batched_at'] = datetime.now().isoformat()` in contrast, pipelinewise-tap-mysql populates the time-extracted field using `time_extracted = utils.now()` which produces a value in UTC. **To Reproduce** Steps to reproduce the behavior: 1. Load some data with the add_metadata_columns option enabled 2. Inspect the _sdc_batched_at column - values will reflect local time **Expected behavior** Values should be in UTC. **Your environment** - Version of target: 2.1.1 - Version of python 3.10.6
Describe the bug
The value stored in the _sdc_batched_at field reflects the local time of the system running target-postgres but should be UTC.
I believe the issue is simply this (line 68 in __init__.py)
extended_record['_sdc_batched_at'] = datetime.now().isoformat()in contrast, pipelinewise-tap-mysql populates the time-extracted field using
time_extracted = utils.now()which produces a value in UTC.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Values should be in UTC.
Your environment