visch
07/28/2022, 5:28 AMelt the catalog was always regenerated with discovery (unless you explicitly gave a catalog.json)
5 3262Z^[[0m [^[[32m^[[1mdebug ^[[0m] ^[[1mCreated configuration at /home/visch/git/testcacheissue/.meltano/run/tap-postgres-testing/tap.cb7b16ce-72bc-43b0-8165-3d65ea79676a.config.json^[[0m
4 3580Z^[[0m [^[[32m^[[1mdebug ^[[0m] ^[[1mCould not find tap.properties.json in /home/visch/git/testcacheissue/.meltano/extractors/tap-postgres-testing/tap.properties.json, skipping.^[[0m
3 3794Z^[[0m [^[[32m^[[1mdebug ^[[0m] ^[[1mCould not find tap.properties.cache_key in /home/visch/git/testcacheissue/.meltano/extractors/tap-postgres-testing/tap.properties.cache_key, skipping.^[[0m
2 3968Z^[[0m [^[[32m^[[1mdebug ^[[0m] ^[[1mCould not find state.json in /home/visch/git/testcacheissue/.meltano/extractors/tap-postgres-testing/state.json, skipping.^[[0m
1 7774Z^[[0m [^[[32m^[[1minfo ^[[0m] ^[[1mFound state from 2022-07-28 05:17:47.411006.^[[0m
718 9285Z^[[0m [^[[32m^[[1mdebug ^[[0m] ^[[1mUsing cached catalog file^[[0m
I'd give cleaner logs but I'm not sure of an easy way to do so Maybe someone can point me to a logging.yamlvisch
07/28/2022, 5:31 AMmeltano run tap-postgres-testing target-csvthomas_briggs
07/28/2022, 12:52 PMmeltano run . To fix this I usually have to remove .meltano/run/<tapname>/tap.properties.cache_key.visch
07/28/2022, 1:07 PMinvoke (still annoying I agree) I know there's an issue in for it. (It'd be so much better if it was in the "main" logs if we were / weren't using a cache as it's a guessing game for me otherwise so one step is to delete the .meltano/run dir)
But for elt the catalog is refreshed every run (so I thought), and I think the same should be true for run .
In my case my select even changed from the last run so there's a cache issue as well but I really don't care about the cache for this use case.thomas_briggs
07/28/2022, 1:14 PMmeltano run with pipelines that have otherwise been running fine for a long time, so it's definitely not just an invoke problem. We can add this to the list of things that's not really meltano's fault - when the table schema in the source DB changes meltano has no way to know, so it has no way to know it should refresh the catalog. 😕chrish
01/02/2023, 5:32 PM.meltano\run\tap-csv\tap.properties.json file, but I would love to be able to set something in my meltano.yml so I don't have to manually delete the cache. Is that possible?chrish
01/02/2023, 5:49 PM-e to the beginning of the pip_url setting for the extractor, it treats it as editable and tap.py in meltano core says: # If the extractor is installed as editable, don't cache because the results of discovery could change at any time.
Would be much nicer to have a property of cache_catalog: False or some such, but the work around does work.aaronsteers
01/02/2023, 6:26 PMaaronsteers
01/02/2023, 6:28 PMaaronsteers
01/02/2023, 6:29 PMcache_catalog: False proposal: https://github.com/meltano/meltano/issues/6915chrish
01/03/2023, 1:08 PMchrish
01/03/2023, 2:00 PM-e in the pip_url.
... 2023-01-03T135622.195235Z [debug ] Installing with args '-e git+https://github.com/ets/tap-spreadsheets-anywhere.git' into virtual environment for 'extractors/tap-spreadsheets-anywhere' Extractor 'tap-spreadsheets-anywhere' could not be installed: failed to install plugin 'tap-spreadsheets-anywhere'. ERROR: Could not detect requirement name for 'git+https://github.com/ets/tap-spreadsheets-anywhere.git', please specify one with #egg=your_package_name ... Whilemeltano install extractors
meltano run knows what to do with the -e, it doesn't seem that meltano install likes it.visch
01/03/2023, 2:35 PM