shy-parrot-64120
03/19/2022, 6:34 PMmce_builder.make_data_flow_urn('airflow', dag_id)
dataFlow objects urn does not contain dataPlatform
, like this:
urn:li:dataFlow:(airflow,aws_transforms_sportsbook,prod)
is this an issue or feature?
this leads to unable to operate with objects via cli: --platform airflow
- searches nothing
in other hand UI shows object under correct platformshy-parrot-64120
03/19/2022, 6:37 PMorchestrator
attribute like urn with dataPlatform
or same fix should be done in make_data_flow_urn
shy-parrot-64120
03/19/2022, 6:38 PM--entity_type dataFlow
searches nothing toshy-parrot-64120
03/19/2022, 6:40 PMdmytro.kulyk@MB-DAT-564087 airflow % datahub delete --env prod --entity_type "dataFlow" -n
[2022-03-19 20:39:49,482] INFO {datahub.cli.delete_cli:206} - datahub configured with <http://localhost:8080>
[2022-03-19 20:39:49,667] INFO {datahub.cli.delete_cli:219} - Filter matched 0 entities. Sample: []
shy-parrot-64120
03/19/2022, 6:40 PMdmytro.kulyk@MB-DAT-564087 airflow % datahub delete --env prod --entity_type "dataJob" -n
[2022-03-19 20:40:36,609] INFO {datahub.cli.delete_cli:206} - datahub configured with <http://localhost:8080>
[2022-03-19 20:40:36,787] INFO {datahub.cli.delete_cli:219} - Filter matched 0 entities. Sample: []
orange-night-91387
03/21/2022, 7:33 PMorange-night-91387
03/21/2022, 7:37 PMif (
platform is not None
and entity_type == "dataset"
or entity_type == "dataflow"
or entity_type == "datajob"
):
if you try it with dataflow or datajob it should workorange-night-91387
03/21/2022, 7:50 PMdatahub delete --entity_type dataflow --platform airflow
orange-night-91387
03/21/2022, 7:51 PMshy-parrot-64120
03/22/2022, 9:29 PMdataFlow
generated? and dataPlatform
needs to be added under the hood?
not explicitly when passing to mce_builder.make_data_flow_urn
orange-night-91387
03/22/2022, 9:32 PMorange-night-91387
03/22/2022, 9:33 PMshy-parrot-64120
03/22/2022, 9:57 PMurn:li:dataFlow:(airflow,aws_transforms_ams,prod)
• dataJob: urn:li:dataJob:(urn:li:dataFlow:(airflow,aws_transforms_sportsbook,prod),sportsbook.selection_key)
do these urns should contain dataPlatform
section as dataset has: urn:li:dataset:(urn:li:dataPlatform:athena,raw.ams_schema_updated,PROD)
orange-night-91387
03/22/2022, 10:59 PMshy-parrot-64120
03/23/2022, 8:50 PMhallowed-lizard-92381
10/25/2022, 2:36 AMshy-parrot-64120
10/25/2022, 7:50 PMshy-parrot-64120
10/25/2022, 7:52 PMhallowed-lizard-92381
10/26/2022, 6:31 PM