Frisbee
04/27/2024, 7:13 PMmeltano config tap-mysql --discover > database-name-catalog.json
populates the JSON file without issues but when I run meltano invoke tap-mysql
or meltano config tap-mysql test
I get
Plugin configuration is invalid
No RECORD message received
And when I do meltano select tap-mysql --list --all
everything is excludedReuben (Matatika)
04/27/2024, 9:58 PMselect
criteria is incorrect?Frisbee
04/28/2024, 5:27 AMmeltano select tap-mysql --list -all
shows the same table name with the database name as a prefix and every column as excluded. I even tried the table_name from the catalog.json instead of the tap_stream_id and still nothing. No matter what I have tried, everything is excluded and nothing works.Frisbee
04/28/2024, 5:28 AM*.*
and everything still shows excludedaaron_phethean
04/28/2024, 5:34 PMFrisbee
04/28/2024, 5:54 PMReuben (Matatika)
04/28/2024, 9:11 PMselect
while overriding the catalog
file - I assume nothing is selected in database-name-catalog.json
? Try removing that and it should start respecting your select
criteria.Frisbee
04/29/2024, 1:53 PMmeltano.yml
is ignored. It now shows as selected. I don't have time test thoroughly but I suspect you have saved the day.Frisbee
04/29/2024, 2:02 PMmeltano config tap-mysql test
still says No RECORD received
Reuben (Matatika)
04/29/2024, 2:05 PMschema
, select
and metadata
rules applied from your meltano.yml
.
https://docs.meltano.com/concepts/plugins/#catalog-extraReuben (Matatika)
04/29/2024, 2:06 PMmeltano.yml
look like now? Do you still get no records if you omit all select
rules?Frisbee
04/29/2024, 2:07 PMsummary
being the one table I'm trying to transportFrisbee
04/29/2024, 2:11 PMFrisbee
04/29/2024, 2:20 PMselected-by-default
to true
but removing the catalog.json doesn't workFrisbee
04/29/2024, 2:33 PMReuben (Matatika)
04/29/2024, 2:37 PMmeltano invoke tap-mysql
now? config test
tries to be smart when forming the Plugin configuration is invalid
message, but it's sort of dependent on the tap. Generally, I would debug deeper issues like this with invoke
and inspect the output.Frisbee
04/29/2024, 2:42 PMinvoke
doesn't show anything of note as far as I can tellReuben (Matatika)
04/29/2024, 2:43 PMsummary
stream and properties in meltano select tap-mysql --list --all
?Frisbee
04/29/2024, 2:44 PMFrisbee
04/29/2024, 2:44 PMReuben (Matatika)
04/29/2024, 2:47 PMcatalog
override and keep just the select
? Do you get the same behaviour for select
and invoke
commands?Frisbee
04/29/2024, 2:50 PMFrisbee
04/29/2024, 2:50 PMReuben (Matatika)
04/29/2024, 2:52 PMcatalog
and still get the Plugin configuration is invalid
error from config test
, but you are seeing RECORD
messages out from invoke
now?Frisbee
04/29/2024, 2:54 PMReuben (Matatika)
04/29/2024, 2:57 PMconfig test
isn't respecting the select
criteria for some reason. Do you have a sec to open an issue with some info? https://github.com/meltano/meltano/issues/new?assignees=meltano%2Fengineering&labels=kind%2FBug%2Cvaluestream%2FMeltano&projects=&template=bug.yml&title=bug%3A+%3Ctitle%3E Otherwise, I can try to piece one together from this thread later (I don't have a reproducible example though).Frisbee
04/29/2024, 2:58 PMReuben (Matatika)
04/29/2024, 2:58 PMFrisbee
04/29/2024, 2:59 PMReuben (Matatika)
04/29/2024, 2:59 PMReuben (Matatika)
04/29/2024, 3:17 PMconfig test
seems to be respecting select
for tap-auth0... 🤔 (configuring select
through env var for clarity)Frisbee
04/29/2024, 3:19 PMselect
and is something between test
and tap-mysql
then. Like an expected configuration that isn't clear or that I didn't includeReuben (Matatika)
04/29/2024, 3:30 PMconfig test
and invoke
run through the same code path internally to invoke the plugin... Are you running on Windows?Frisbee
04/29/2024, 3:42 PMFrisbee
04/29/2024, 6:17 PMReuben (Matatika)
04/29/2024, 7:15 PMFrisbee
04/29/2024, 7:16 PM