quick-pizza-8906
06/06/2022, 2:08 PMplatform_instance
parameter added recently and 2 changes by @green-football-43791 :
https://github.com/datahub-project/datahub/pull/4926
https://github.com/datahub-project/datahub/pull/5028
I set platform_insance
parameter and then run DBT connector first with 5028 commit and then with this commit reverted - both ended up producing target datasets without a platform instance. How is this feature supposed to work?green-football-43791
06/06/2022, 3:46 PMgreen-football-43791
06/06/2022, 3:46 PMgreen-football-43791
06/06/2022, 3:50 PMquick-pizza-8906
06/06/2022, 3:52 PMdisable_dbt_node_creation: True
I don't see dbt urns right?green-football-43791
06/06/2022, 3:52 PMgreen-football-43791
06/06/2022, 3:53 PMquick-pizza-8906
06/06/2022, 3:53 PMgreen-football-43791
06/06/2022, 3:53 PMquick-pizza-8906
06/06/2022, 3:53 PMquick-pizza-8906
06/06/2022, 3:54 PMquick-pizza-8906
06/06/2022, 3:55 PMtarget_instance
parameter here, wdyt? Do you think it is a feature that could be merged if it was implemented?quick-pizza-8906
06/06/2022, 3:55 PMgreen-football-43791
06/06/2022, 3:56 PMgreen-football-43791
06/06/2022, 3:56 PMtarget_platform_instance
green-football-43791
06/06/2022, 3:56 PMgreen-football-43791
06/06/2022, 3:57 PMquick-pizza-8906
06/06/2022, 3:57 PMquick-pizza-8906
06/06/2022, 3:57 PMgreen-football-43791
06/06/2022, 3:57 PMgreen-football-43791
06/06/2022, 3:58 PMquick-pizza-8906
06/06/2022, 4:00 PMquick-pizza-8906
06/06/2022, 4:00 PMgreen-football-43791
06/06/2022, 4:00 PMgreen-football-43791
06/06/2022, 4:01 PMgreen-football-43791
06/06/2022, 4:01 PMmetadata-ingestion/tests/integration/dbt/test_dbt.py
like I had added in 4926green-football-43791
06/06/2022, 4:03 PMgreen-football-43791
06/06/2022, 4:03 PMpytest tests/integration/dbt/test_dbt.py --update-golden-files
to generate golden filesmammoth-bear-12532
quick-pizza-8906
06/06/2022, 6:35 PMquick-pizza-8906
06/06/2022, 8:55 PMkafka-connect
matches here better then the one for looker
. I just got a question, given config:
platform_instance_map: # optional
mysql: test_mysql # optional
connect_to_platform_map: # optional
postgres-connector-finance-db: # optional - Connector name
postgres: core_finance_instance # optional - Platform to instance map
It is quite easy to understand platform_instance_map
I think, that is whenever we see set belonging to mysql
platform it will be assigned test_mysql
instance. But I am a bit puzzled by connect_to_platform_map
(btw. I understand these 2 options are mutually exclusive) - is postgres-connector-finance-db
coming from kafka connect app name? The I understand the mapping for postgres
platform datasets to core_finance_instance
will be done only for datasets originating from kafka connect app named postgres-connector-finance-db
- is that right?
I would propose similar approach to dbt, we could go with two settings:
target_platform_instance
- mapping for all sets to a single instance
target_platform_instance_mapping:
- schema_name: instance_name
Both settings could be set at the same time and target_platform_instance_mapping
would take precedence over target_platform_instance
. Sounds reasonable, doesn't it?mammoth-bear-12532
connect_to_platform_map
then you are basically mapping the kafka-connect
connection id to specific platform_name, instance etc... similar to the looker optionmammoth-bear-12532
platform_instance_map
quick-pizza-8906
06/06/2022, 10:19 PMquick-pizza-8906
06/06/2022, 10:23 PMTable
type of datasets the dbt connector creates just a generic Dataset
? Would it be something that could be added (separate thing to this problem I think)mammoth-bear-12532
quick-pizza-8906
06/09/2022, 11:47 AMquick-pizza-8906
06/09/2022, 5:54 PMquick-pizza-8906
06/09/2022, 6:00 PMgreen-football-43791
06/09/2022, 6:26 PMquick-pizza-8906
06/09/2022, 6:47 PMgreen-football-43791
06/09/2022, 6:48 PMgreen-football-43791
06/09/2022, 6:49 PMquick-pizza-8906
06/09/2022, 6:51 PMquick-pizza-8906
06/09/2022, 6:51 PMquick-pizza-8906
06/09/2022, 7:15 PMquick-pizza-8906
06/09/2022, 7:15 PMgreen-football-43791
06/09/2022, 7:16 PMquick-pizza-8906
06/09/2022, 7:16 PMquick-pizza-8906
06/09/2022, 7:44 PMquick-pizza-8906
06/09/2022, 7:55 PMquick-pizza-8906
06/09/2022, 11:11 PMgreen-football-43791
06/09/2022, 11:11 PMquick-pizza-8906
06/09/2022, 11:12 PMquick-pizza-8906
06/09/2022, 11:12 PMgreen-football-43791
06/09/2022, 11:16 PMgreen-football-43791
06/09/2022, 11:17 PMquick-pizza-8906
06/10/2022, 11:53 AMquick-pizza-8906
06/10/2022, 2:59 PMquick-pizza-8906
06/10/2022, 8:03 PMgreen-football-43791
06/10/2022, 8:05 PMgreen-football-43791
06/10/2022, 8:05 PMgreen-football-43791
06/10/2022, 8:05 PMquick-pizza-8906
06/10/2022, 8:09 PMmammoth-bear-12532
mammoth-bear-12532
mammoth-bear-12532
quick-pizza-8906
06/11/2022, 8:16 AMmammoth-bear-12532
mammoth-bear-12532
target_platform_instance
to go along with the current target_platform
makes more sensemammoth-bear-12532
quick-pizza-8906
06/13/2022, 4:03 PM