Syed Hamza Raza Kazmi
07/29/2024, 5:27 AMMichal
09/16/2024, 1:35 PMSyed Hamza Raza Kazmi
09/16/2024, 1:37 PMMichal
09/16/2024, 1:38 PMSyed Hamza Raza Kazmi
09/16/2024, 1:39 PMSyed Hamza Raza Kazmi
09/16/2024, 1:40 PMMichal
09/16/2024, 1:40 PMSyed Hamza Raza Kazmi
09/16/2024, 1:40 PMMichal
09/16/2024, 1:43 PMbrian_njenga
09/18/2024, 12:22 PMbrian_njenga
09/18/2024, 12:26 PMMichal
09/18/2024, 12:56 PMbrian_njenga
09/18/2024, 4:17 PMMichal
09/20/2024, 9:30 AM<merge_tree>
<allow_nullable_key>true</allow_nullable_key>
</merge_tree>
in config to allow nullable keys, as Meltano complained about it when running initial FULL_TABLE.
Then, when I changed to LOG_BASED it stopped appending new records. I also noticed interesting thing. Looks like Meltano is not saving the bookmarks, like in my small table from previous test
INFO | target-clickhouse | Emitting completed target state {"bookmarks": {"<schema_name>-document": {}}}
cat .meltano/run/tap-postgres/state.json
{
"bookmarks": {
"<schema_name>-document": {}
}
}
and here is the file for working example:
cat .meltano/run/tap-postgres/state.json
{
"bookmarks": {
"<schema_name>-mgtest": {
"replication_key": "_sdc_lsn",
"replication_key_value": 9546101697424
}
}
}
I don't know what's going on. I did try clearing state, as you suggested, but no luck 🤷