adam_roderick
08/22/2023, 6:15 PMFULL_TABLE
.
I had thought that setting the general values and then overriding the specific values was a best practice. And I wasn't getting this error before. What is the best way to configure this?
Here is the configuration
metadata:
"*":
replication-method: INCREMENTAL
replication-key: UpdateDateUtc
dbo-TourDates:
replication-method: FULL_TABLE
The catalog generates the nonsensical property pair for `dbo-TourDates`:
"replication-method": "FULL_TABLE",
"replication-key": "UpdateDateUtc"
And the exception when the singer internals attempts to read properties of the nonexistent dbo-TourDates.UpdateDateUtc
2023-08-22T18:09:17.308097Z [info ] File "/workspace/.meltano/extractors/tap-rentler-sql/venv/lib/python3.9/site-packages/singer_sdk/helpers/_typing.py", line 137, in is_datetime_type cmd_type=extractor name=tap-rentler-sql-leads run_id=4b4b694c-6f5d-4e74-a763-b5157a6b5e28 state_id=2023-08-22T180847--tap-rentler-sql-leads--target-rentler-sql stdio=stderr
2023-08-22T18:09:17.308470Z [info ] raise EmptySchemaTypeError cmd_type=extractor name=tap-rentler-sql-leads run_id=4b4b694c-6f5d-4e74-a763-b5157a6b5e28 state_id=2023-08-22T180847--tap-rentler-sql-leads--target-rentler-sql stdio=stderr
2023-08-22T18:09:17.308851Z [info ] singer_sdk.helpers._typing.EmptySchemaTypeError: Could not detect type from empty type_dict. Did you forget to define a property in the stream schema?
edgar_ramirez_mondragon
08/22/2023, 9:41 PMmetadata
functionality)
Have you tried setting replication-key
explicitly to null
?
metadata:
"*":
replication-method: INCREMENTAL
replication-key: UpdateDateUtc
dbo-TourDates:
replication-method: FULL_TABLE
replication-key: null
adam_roderick
08/22/2023, 9:42 PMreplication-key: ""
works as intended.adam_roderick
08/22/2023, 9:42 PMedgar_ramirez_mondragon
08/22/2023, 9:46 PMadam_roderick
08/22/2023, 9:47 PM