christoph
06/23/2022, 12:00 AMpipelinewise tap-postgres)?
I can't seem to be able to get meltano select tap-postgres --list --all to print out an up-to-date list of entities. meltano select seems to be giving me an outdated list.
Running meltano invoke tap-postgres --discover shows me the correct list of entities that reflect the current state of my database.christoph
06/23/2022, 12:05 AM2022-06-23T00:03:20.863714Z [debug ] Using cached catalog filechristoph
06/23/2022, 12:09 AMedgar_ramirez_mondragon
06/23/2022, 1:26 AMelt has to be replaced with run since that's the recommended command now. It's a more generic command, so probably --with_discover would instead need to be --no-cache or similar. Wdyt? Would you favor any of those, or a totally different approach?christoph
06/23/2022, 2:01 AMmeltano, clear my cache first) before I can run the actual task that I intended to perform (i.e. meltano, show me all the entities that you discovered "right now" in the catalog).
I don't have too much of an opinion on the syntax or semantics of the actual implementation though. I think that part is something that most people will get used to.
I do think that --with-discover is better, because it is way less ambiguous than --no-cache. Another option I can think of would be --refresh-catalog
NOTE: Whichever option ends up getting implemented, I think it would need to be added to all commands that deal with the catalog. The commands that I ran into that deal with the catalog are run, (elt), selectchristoph
06/23/2022, 2:25 AMchristoph
06/23/2022, 2:30 AMAnother option I can think of would beLooks like there is a second vote for--refresh-catalog
--refresh-catalog ... 😁
https://gitlab.com/meltano/meltano/-/issues/2907#note_665673007edgar_ramirez_mondragon
06/23/2022, 4:05 AM