A new setting meant to ignore ACTIVATE_VERSION messages entirely #2776
Labels
Accepting Pull Requests
kind/Feature
New feature or request
Type/Target
Singer targets
valuestream/SDK
Milestone
Feature scope
Targets (data type handling, batching, SQL object generation, tests, etc.)
Description
I just wanted to post an issue that I had with Meltano that I still cannot figure it out. It is about the add_record_metadata configuration.
Basically when I set add_record_metadata=True, I do see all the following columns showing in this link (https://sdk.meltano.com/en/latest/implementation/record_metadata.html) appear. However when I set it to False, I still see the column, _sdc_table_version in my output which is a mssql table. I started to think whether this is a bug. I Just want to ask how I can remove this column from my output.
Here is my meltano.yml:
We tried meltano invoke tap-mssql > output.json and the output looks like this:
So even if add_record_metadata is set to false, _sdc_table_version will still appear in the table and only its value becomes NULL because of "type":"ACTIVATE_VERSION",...
Also see:
sdk/singer_sdk/sinks/sql.py
Lines 379 to 387 in 5ed3be1
The text was updated successfully, but these errors were encountered: