sebastian_slanitsch
06/19/2023, 6:39 AMReuben (Matatika)
06/19/2023, 8:26 AM--log-level debug
.sebastian_slanitsch
06/19/2023, 8:27 AMsebastian_slanitsch
06/19/2023, 8:34 AMReuben (Matatika)
06/19/2023, 9:07 AMreplication_key_sql_datatype = md.get(('properties', replication_key))
implies you are looking up a value in a dictionary by a tuple key of ('properties', replication_key)
. Is this what you intended? My guess would be that you're probably getting None
back here, hence 'NoneType' object has no attribute 'get'
on the chained get
call.
Did you instead want to default to replication_key
given no value for properties
? In this case you, need to remove the extra set of parenthesis:
replication_key_sql_datatype = md.get('properties', replication_key)
Reuben (Matatika)
06/19/2023, 9:15 AMreplication_key_sql_datatype = md.get('properties', {}).get(replication_key, {}).get('sql-datatype')
sebastian_slanitsch
06/19/2023, 9:46 AMsebastian_slanitsch
06/19/2023, 11:19 AMsebastian_slanitsch
06/19/2023, 11:51 AMsebastian_slanitsch
06/19/2023, 11:56 AMsebastian_slanitsch
06/19/2023, 12:14 PMsebastian_slanitsch
06/19/2023, 12:14 PMReuben (Matatika)
06/19/2023, 12:57 PMtap-oracle
myself, so I can't really say if you're config looks correct or not, sorry.
Some things to check though:
• Is updated_at
a top-level field?
• Should you be specifying the replication-key
as updated_at
as well as is-replication-key: true
on the replication key property itself?sebastian_slanitsch
06/19/2023, 1:03 PMReuben (Matatika)
06/19/2023, 1:06 PMedgar_ramirez_mondragon
06/19/2023, 5:22 PMAttributeError: 'NoneType' object has no attribute 'get'. Extractor failed.
This is usually caused by a badly formatted/indented meltano.yml
file. I see sid
doesn’t have a value, so maybe that’s the issue.sebastian_slanitsch
06/20/2023, 6:50 AMsebastian_slanitsch
06/20/2023, 8:54 AM