Good morning peeps! I was wondering what the usec...
# singer-tap-development
s
Good morning peeps! I was wondering what the usecase was for the
is_timestamp_replication_key
flag? https://sdk.meltano.com/en/latest/classes/singer_sdk.Stream.html#singer_sdk.Stream.has_selected_descendents Is this only for development, or can it be used in production?
a
1. The use case for
is_timestamp_replication_key
is in order to infer if datetime math should be used in comparison login, and also to infer if timestamp-based signposts can be used relative to
utcnow()
. If the replication key is not a timestamp (meaning it is likely numeric or symbolic), then those datetime-based comparisons and signposts would be invalid. 2. The use case for
has_selected_descendents
is for determining if a deselected parent stream still needs to be invoked (perhaps silently), in order to iterate upon the selected child streams.
Does this help?
s
Yes, that's awesome! Thanks 😄