Hey Guys! I am trying to use incremental replicati...
# troubleshooting
s
Hey Guys! I am trying to use incremental replication in my meltano project for the table HR-JOBS. I've also declared the replication_key UPDATED_AT which is present as a timestamp column in my database table. But every time I validate my meltano.yml I get the following error: AttributeError: 'NoneType' object has no attribute 'get'. For clarification I use the tap-oracle with target-postgres. Thanks in advance!
u
@sebastian_slanitsch maybe if you share your current meltano.yml with sensitive credentials removed it will be easier to help debug. What command are you running? Its usually easiest to run
invoke
to isolate a tap from a target
a
@pat_nadolny I wonder if there's scope for a meltano command that 'sanitises'
meltano.yml
to make it easier to share for troubleshooting here? Do taps define which elements of the config are secret/sensitive so this could be done automatically?
u
Maybe
meltano compile
? I think that would validate and try to remove any sensitive stuff but it might be hard if its not flagged as secret and maybe with env vars. I'd have to test it more. Good point though, it would be nice to have command to export logs and config in a safe way for sharing
s
here is my meltano.yml: environments: - name: dev config: plugins: extractors: - name: tap-oracle--hr metadata: HR-JOBS: replication-method: INCREMENTAL replication-key: UPDATED_AT config: host: port: user: password: filter_schemas: HR filter_tables: - HR-JOBS sid:
u
Can you also share the stack trace of the error youre seeing?