You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mmm interesting, I have not taken a look or debugged my self but it looks like it just gets the value from a dictionary, if not found is False otherwise uses the value, which should be evaluated as true in Python?
def_is_upsert_candidate(self) ->bool:
"""Determine if this stream is an upsert candidate based on user configuration."""upsert_selection=self.config.get("upsert", False)
upsert_candidate=Falseifisinstance(upsert_selection, list):
selection: strforselectioninupsert_selection:
invert=selection.startswith("!")
ifinvert:
selection=selection[1:]
iffnmatch(self.stream_name, selection):
upsert_candidate=True^invertelifupsert_selection:
upsert_candidate=Truereturnupsert_candidate
When using
meltano config tap-bigquery set --interactive
, if you set upsert to true, it will save as a string and the following error occursThis is what the YAML produces
Manually changing it to just the boolean
true
fixes the errorThe text was updated successfully, but these errors were encountered: