Hi, I am trying to access the auto-discovered tap....
# random
o
Hi, I am trying to access the auto-discovered tap.properties from my loader (That I implemented), Is there a simple way to get it? I see that for every run meltano generates it in some folder inside .meltano with the run_id but I don’t have access to this kind of details to figure out the path.
d
Try
meltano invoke --dump=catalog tap-foo
o
You mean creating the catalog before running the elt job?
d
Ah, I misunderstood, you're trying to access it from the loader! There's no simple way to get it, no, it only gets the SCHEMA messages which don't have all the metadata
But if you can control the execution environment, you could use that command to generate the file and then explicitly pass it to the loader through config or an env var
o
But then it means that first I need to run the catalog command and then pass it as the catalog path and run the elt command right?
d
Yes
What parts of the catalog/properties file are you hoping to use in the loader?
o
So I have a parquet loader and we are using it also to write some metadata provided in the tap.properties into the parquet file metadata section
d
Ah makes sense. Yeah there's no way to pass additional metadata like that in the Singer spec currently
o
Anyway that I can control the path meltano stores the auto-discovered catalog?
d
No I'm afraid not
o
Got it, thanks