ricky_renner
08/16/2021, 9:44 PMtap-quickbooks tap, and no data is coming out. I see that I'm successfully selecting a certain stream, but just no data is flowing through when I run the pipeline. Anybody ever seen this before?amanda.folson
08/17/2021, 1:16 PMricky_renner
08/17/2021, 2:16 PMricky_renner
08/17/2021, 6:48 PMricky_renner
08/17/2021, 6:52 PMricky_renner
08/17/2021, 8:47 PMricky_renner
08/18/2021, 12:56 PMhassan_syyid
08/18/2021, 12:57 PMricky_renner
08/18/2021, 12:58 PMmeltano elt tap-quickbooks target-bigqueryhassan_syyid
08/18/2021, 1:03 PMricky_renner
08/18/2021, 1:06 PMhassan_syyid
08/18/2021, 1:12 PMricky_renner
08/18/2021, 1:29 PMricky_renner
08/18/2021, 1:29 PMmeltano.yml. I'm guessing it'd be the metadata extra somehow.ricky_renner
08/18/2021, 1:30 PMhassan_syyid
08/18/2021, 1:31 PMhassan_syyid
08/18/2021, 1:31 PMricky_renner
08/18/2021, 1:33 PMhassan_syyid
08/18/2021, 1:37 PMcapabilities sectionhassan_syyid
08/18/2021, 1:38 PMcatalog it’d say propertieshassan_syyid
08/18/2021, 1:38 PMricky_renner
08/18/2021, 1:40 PMricky_renner
08/18/2021, 1:48 PMricky_renner
08/18/2021, 1:54 PMhassan_syyid
08/18/2021, 1:55 PMcatalog.json – you would just pass the same file using --properties insteadricky_renner
08/18/2021, 2:20 PMrefresh_token or will the tap handle that? Meaning - will the tap see that it is expired and just generate a new one?ricky_renner
08/18/2021, 2:24 PMhassan_syyid
08/18/2021, 2:34 PMricky_renner
08/18/2021, 3:04 PMhassan_syyid
08/18/2021, 3:59 PMricky_renner
08/18/2021, 5:22 PMricky_renner
08/18/2021, 5:51 PMtap-quickbooks tap as a custom plugin as it looks like how it is configured in Meltano is not correct (it includes catalog as a capability as opposed to properties).
However, now that I'm implementing this as a custom extractor, it's not generating the catalog.json file. Do I need to add something specific to the custom extractor configuration for it to generate a catalog.json ?
I know it's confusing - but we basically want the catalog.json to still be generated, but tap-quickbooks requires us to use --properties so it would be like --properties catalog.json as Hassan mentioned above.douwe_maan
08/18/2021, 5:52 PMdouwe_maan
08/18/2021, 5:53 PMricky_renner
08/18/2021, 5:56 PMdouwe_maan
08/18/2021, 5:58 PMricky_renner
08/18/2021, 5:58 PMdiscovery not discoverdouwe_maan
08/18/2021, 5:59 PMdouwe_maan
08/18/2021, 5:59 PMdouwe_maan
08/18/2021, 5:59 PMbenjamin_blankartz
08/18/2021, 6:52 PMricky_renner
08/18/2021, 6:57 PMschema["properties"] section, so I'm assuming the tap-quickbooks is not sending that.edgar_ramirez_mondragon
08/18/2021, 6:59 PMobject field without `properties`: https://github.com/hotgluexyz/tap-quickbooks/blob/8cc077bfbd11fa6bda7d45deb6b0cd5609d2bf22/properties.json#L256-L260ricky_renner
08/18/2021, 7:02 PMricky_renner
08/18/2021, 7:10 PMproperties.json has a properties child objectedgar_ramirez_mondragon
08/18/2021, 7:19 PMextractors:
- name: tap-quickbooks
schema:
Invoice:
SubTotalLineDetail:
type: "object"
properties: {}ricky_renner
08/18/2021, 7:38 PMhassan_syyid
08/18/2021, 7:39 PMhassan_syyid
08/18/2021, 7:39 PMricky_renner
08/18/2021, 7:45 PMricky_renner
08/19/2021, 3:02 PMproperties section is required by the singer specedgar_ramirez_mondragon
08/19/2021, 3:30 PMbenjamin_blankartz
08/19/2021, 4:33 PMselect filtering, SubTotalLineDetail has to be included.edgar_ramirez_mondragon
08/19/2021, 4:41 PM.meltano/run/tap-quickbooks/tap.properties.json?ricky_renner
08/19/2021, 5:01 PMricky_renner
08/19/2021, 5:52 PMricky_renner
08/19/2021, 5:53 PMId and TotalAmt but it seems as though it is still throwing the properties errorricky_renner
08/19/2021, 5:57 PMaaronsteers
08/19/2021, 6:30 PMI've tried only selectingMany taps do not filter their SCHEMA messages as a results of selection rules. Meaning, only the record is filtered and the SCHEMA is passed as-is regardless of filter. Can you use the schema-override method described by @edgar_ramirez_mondragon to remove any property-less object definitions? More context is here in an SDK issue - exactly discussing if we should support variantandIdbut it seems as though it is still throwing the properties errorTotalAmt
object schemas. Some targets support them but unfortunately some apparently do not.ricky_renner
08/19/2021, 6:34 PMaaronsteers
08/19/2021, 6:35 PMaaronsteers
08/19/2021, 6:36 PMtap-stripe) as described here: https://meltano.slack.com/archives/C01TCRBBJD7/p1629359180216100?thread_ts=1629220362.197000&cid=C01TCRBBJD7aaronsteers
08/19/2021, 6:37 PMbenjamin_blankartz
08/19/2021, 7:04 PMaaronsteers
08/19/2021, 7:06 PMaaronsteers
08/19/2021, 7:09 PMaaronsteers
08/19/2021, 7:11 PMaaronsteers
08/19/2021, 7:13 PMbenjamin_blankartz
08/19/2021, 7:16 PMbenjamin_blankartz
08/19/2021, 7:25 PMedgar_ramirez_mondragon
08/19/2021, 7:28 PMextractors:
- name: tap-quickbooks
schema:
Invoice:
SubTotalLineDetail:
type: "object"
properties:
dummy:
type: ["string", "null"]benjamin_blankartz
08/19/2021, 7:30 PMbenjamin_blankartz
08/19/2021, 7:38 PMedgar_ramirez_mondragon
08/19/2021, 7:39 PMextractors:
- name: tap-quickbooks
schema:
Invoice:
SubTotalLineDetail:
type: ["object", "null"]
properties:
dummy:
type: ["string", "null"]benjamin_blankartz
08/19/2021, 8:32 PMthomas_schmidt
08/20/2021, 6:54 AMtap-stripe. As mentioned I created an MR that the selection is also applied for the SCHEMA message -> This way we can deselect the fields which create problems (we don’t need them anyway).
What we did additionally was applying a small patch to the catalog which basically removed all schema definitions with empty properties:
Turns that
metadata": {
"type": [
"null",
"object"
],
"properties": {}
}
into that
metadata": {
"type": [
"null",
"string"
]
}
as a quickfix we basically dump the catalog first, process it with a regular expression python script and then reuse the processed catalog for the EL job.
Maybe this could also be a (hacky) approach for you guys in the meantimebenjamin_blankartz
08/20/2021, 12:07 PMproperties capabilities.
Meltano would throw back an error if we call elt tap target --properties properties.json . Would --catalog catalog.json still enable tap-quickbooks to use properties while also consuming a custom catalog?ricky_renner
08/20/2021, 12:53 PMaaronsteers
08/20/2021, 6:48 PMricky_renner
08/20/2021, 8:15 PMaaronsteers
08/20/2021, 8:58 PMbenjamin_blankartz
08/24/2021, 6:17 PMedgar_ramirez_mondragon
08/24/2021, 6:33 PMaaronsteers
08/24/2021, 7:54 PMbenjamin_blankartz
08/25/2021, 12:13 PMricky_renner
08/25/2021, 12:23 PMricky_renner
12/06/2021, 3:10 PMedgar_ramirez_mondragon
12/06/2021, 4:28 PM.meltano/run/<EXTRACTOR>/tap.<SOME UUID>.config.json . If you run a command in debug mode like meltano --log-level=debug invoke <EXTRACTOR> you should see a log line revealing the config file name Created configuration at ...ricky_renner
12/10/2021, 5:11 PMDeleted configuration at /project/.meltano/run/elt/2021-12-10T170813--tap-quickbooks-custom--target-bigquery/c93eb680-e363-4e59-a2c4-6e696ce06cff/tap.3a49254e-2c07-495c-b085-1b132b61dd0c.config.json
Is there a way to maintain that configuration after the run so we could extract some of the properties in itricky_renner
12/13/2021, 2:58 PMedgar_ramirez_mondragon
12/13/2021, 4:13 PMIs there a way to maintain that configuration after the run so we could extract some of the properties in itNot really at the moment. Though you can get the config file the tap/target would use with
meltano config tap-quickbooks-custom or meltano invoke --dump=config tap-quickbooks-custom.
Unless your tap writes back to the config file and you need the updated contents, which is a use case Meltano doesn't currently support.ricky_renner
12/14/2021, 2:17 PMtaylor
12/14/2021, 3:05 PMaaronsteers
12/14/2021, 5:02 PMaaronsteers
12/14/2021, 5:05 PMFor this issue, we are currently gaging feedback and asking for developers and users to provide use cases if this is a blocker for them. If this affects you, please post to the comments.@ricky_renner - Could you help by logging some requirements description there in the issue. Also, if you have available workarounds today or not, would be helpful info.
ricky_renner
12/14/2021, 5:08 PMricky_renner
12/20/2021, 9:12 PMhassan_syyid
12/21/2021, 1:14 PMricky_renner
12/21/2021, 1:42 PMhassan_syyid
12/21/2021, 1:49 PMis_sandbox flag as falsehassan_syyid
12/21/2021, 1:49 PMricky_renner
12/21/2021, 2:07 PMaaronsteers
01/04/2022, 8:31 PMtap-quickbooks does support and/or expect this to handle a rotating refresh_token.
4. To my knowledge, we don't (yet) have a way to run meltano elt with a self-managed config file.
For past use cases, we generally found there was some workaround in the tap itself. So far, just tap-jira and tap-quickbooks have been identified. I believe tap-jira had a workaround so it dropped off the priority. @hassan_syyid mentioned that the tap-quickbooks setting called is_sandbox may be a workaround but I can't speak to that myself.aaronsteers
01/04/2022, 8:32 PM