stephanie
02/03/2020, 2:47 PMderek_knox
02/03/2020, 3:16 PM...then got stuck
@stephanie Can you elaborate?
If you're saying that you expected Meltano's Analyze UI "to just work", then yes, you need to create custom transforms and models. You can learn more about that here https://www.meltano.com/tutorials/create-custom-transforms-and-models.html#creating-custom-transforms-and-models
derek_knox
02/03/2020, 3:18 PMstephanie
02/03/2020, 3:25 PMmicael_bergeron
02/03/2020, 3:26 PMstephanie
02/03/2020, 3:27 PMmicael_bergeron
02/03/2020, 3:28 PMderek_knox
02/03/2020, 3:30 PMderek_knox
02/03/2020, 3:31 PMstephanie
02/03/2020, 3:32 PMstephanie
02/03/2020, 3:46 PMmeltano invoke tap-postgres --discover > hello
for line in `grep tap_stream_id hello | grep order | cut -d " " -f8 | tr -d '"' | tr -d ","` ; do meltano select tap-postgres $line ; done
---
[MainThread][INFO][2020-02-03 14:24:56,473] Context impl SQLiteImpl.
[MainThread][INFO][2020-02-03 14:24:56,474] Will assume non-transactional DDL.
System database up-to-date.
Error: 'list' object has no attribute 'add'micael_bergeron
02/03/2020, 3:49 PMmeltano invoke tap-postgres --discover > hello
for line in `grep tap_stream_id hello | grep order | cut -d " " -f8 | tr -d '"' | tr -d ","` ; do meltano select tap-postgres $line ; done
I'm curious to see what the invocations looks like.stephanie
02/03/2020, 3:49 PModoo-public-product_template_attribute_value_sale_order_line_rel
odoo-public-purchase_order_stock_picking_rel
odoo-public-sale_order_line_invoice_rel
odoo-public-store_store_order_rel
odoo-public-account_analytic_tag_purchase_order_line_rel
odoo-public-account_analytic_tag_sale_order_line_rel
odoo-public-account_invoice_purchase_order_rel
odoo-public-purchase_order
odoo-public-purchase_order_line
odoo-public-account_tax_purchase_order_line_rel
odoo-public-account_tax_sale_order_line_rel
odoo-public-sale_order_line
odoo-public-brand_sale_orders
odoo-public-daily_order
odoo-public-mrp_workorder
odoo-public-sale_order_option
odoo-public-sale_order_tag_rel
odoo-public-sale_order_template_line
odoo-public-sale_order_template_option
odoo-public-sale_order_template
odoo-public-sale_order_transaction_rel
odoo-public-sale_order
odoo-public-stock_backorder_confirmation
odoo-public-stock_picking_backorder_rel
odoo-public-stock_warehouse_orderpoint
odoo-public-store_order_service
odoo-public-store_ordermicael_bergeron
02/03/2020, 3:50 PMmeltano select tap-postgres odoo-public-purchase_order fails?stephanie
02/03/2020, 3:50 PMmicael_bergeron
02/03/2020, 3:52 PMstephanie
02/03/2020, 3:52 PMmeltano select tap-postgres --list
[MainThread][INFO][2020-02-03 14:16:38,017] Context impl SQLiteImpl.
[MainThread][INFO][2020-02-03 14:16:38,018] Will assume non-transactional DDL.
System database up-to-date.
[MainThread][INFO][2020-02-03 14:16:38,171] Catalog not found, trying to run the tap with --discover.
Legend:
selected
excluded
automatic
Enabled patterns:
odoo-public-product_template_attribute_value_sale_order_line_rel.*
Selected properties:
[selected ] odoo-public-product_template_attribute_value_sale_order_line_rel.sale_order_line_id
[selected ] odoo-public-product_template_attribute_value_sale_order_line_rel.product_template_attribute_value_idmicael_bergeron
02/03/2020, 3:52 PMmeltano.yml file.micael_bergeron
02/03/2020, 3:53 PMselect: key underneath the tap-postgres block, you can add them there.micael_bergeron
02/03/2020, 3:53 PM.* at the end.stephanie
02/03/2020, 3:53 PMmicael_bergeron
02/03/2020, 3:54 PM