-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Setting add_record_metadata
should be surfaced as builtin target configuration
#1199
Comments
@edgarrmondragon I ran into my mssql SDK target asking for the
I haven't set anything for record metadata in my target to my knowledge. I do know I set the following for
|
@BuzzCutNorman yeah there's some overloading of metadata here. In this case it refers to special columns added to tables by the target. In particular The |
@edgarrmondragon can you explain the Would |
This is indeed the vehicle that is used for activate version. The spec is flexible on the contents, but generally it's only used in full table sync operations, and all records would have the epoch integer corresponding the stream's sync start time. |
@pnadolny13 I think we could at least be more precise with In the generic case that could be when
For this user request, we could also add another |
@edgarrmondragon good point, I hadn't looked into it enough but I would expect it to act the way you described i.e. each record in a page request has the same timestamp.
Yep thats exactly what I was looking for. Naming is tough, maybe |
Singer SDK Version
0.14.0
Python Version
NA
Bug scope
Targets (data type handling, batching, SQL object generation, etc.)
Operating System
NA
Description
The flag is retrieved from config in
sdk/singer_sdk/sinks/core.py
Lines 187 to 194 in 253851e
and it's documented in
sdk/docs/implementation/record_metadata.md
Lines 1 to 15 in 1576b5c
but the target's config schema is not aware of the setting.
This can be fixed by implementing
append_builtin_config
in theTarget
class to include that setting.Code
No response
The text was updated successfully, but these errors were encountered: