Skip to content

Commit da7aee9

Browse files
committed
update golden files for dbt & fivetran
1 parent a4c600c commit da7aee9

4 files changed

+264
-0
lines changed

metadata-ingestion/tests/integration/dbt/dbt_test_prefer_sql_parser_lineage_golden.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,22 @@
592592
"lastRunId": "no-run-id-provided"
593593
}
594594
},
595+
{
596+
"entityType": "dataProcessInstance",
597+
"entityUrn": "urn:li:dataProcessInstance:a42a5b1bee156e45972e12d4156fb7a2",
598+
"changeType": "UPSERT",
599+
"aspectName": "dataPlatformInstance",
600+
"aspect": {
601+
"json": {
602+
"platform": "urn:li:dataPlatform:dbt"
603+
}
604+
},
605+
"systemMetadata": {
606+
"lastObserved": 1643871600000,
607+
"runId": "dbt-prefer-sql-parser-lineage",
608+
"lastRunId": "no-run-id-provided"
609+
}
610+
},
595611
{
596612
"entityType": "dataProcessInstance",
597613
"entityUrn": "urn:li:dataProcessInstance:a42a5b1bee156e45972e12d4156fb7a2",
@@ -1047,6 +1063,22 @@
10471063
"lastRunId": "no-run-id-provided"
10481064
}
10491065
},
1066+
{
1067+
"entityType": "dataProcessInstance",
1068+
"entityUrn": "urn:li:dataProcessInstance:fc6268f0be68fd04c310705b65efd6fe",
1069+
"changeType": "UPSERT",
1070+
"aspectName": "dataPlatformInstance",
1071+
"aspect": {
1072+
"json": {
1073+
"platform": "urn:li:dataPlatform:dbt"
1074+
}
1075+
},
1076+
"systemMetadata": {
1077+
"lastObserved": 1643871600000,
1078+
"runId": "dbt-prefer-sql-parser-lineage",
1079+
"lastRunId": "no-run-id-provided"
1080+
}
1081+
},
10501082
{
10511083
"entityType": "dataProcessInstance",
10521084
"entityUrn": "urn:li:dataProcessInstance:fc6268f0be68fd04c310705b65efd6fe",
@@ -1375,6 +1407,22 @@
13751407
"lastRunId": "no-run-id-provided"
13761408
}
13771409
},
1410+
{
1411+
"entityType": "dataProcessInstance",
1412+
"entityUrn": "urn:li:dataProcessInstance:57aa623f096cf3a28af70fe94b713907",
1413+
"changeType": "UPSERT",
1414+
"aspectName": "dataPlatformInstance",
1415+
"aspect": {
1416+
"json": {
1417+
"platform": "urn:li:dataPlatform:dbt"
1418+
}
1419+
},
1420+
"systemMetadata": {
1421+
"lastObserved": 1643871600000,
1422+
"runId": "dbt-prefer-sql-parser-lineage",
1423+
"lastRunId": "no-run-id-provided"
1424+
}
1425+
},
13781426
{
13791427
"entityType": "dataProcessInstance",
13801428
"entityUrn": "urn:li:dataProcessInstance:57aa623f096cf3a28af70fe94b713907",
@@ -1899,6 +1947,22 @@
18991947
"lastRunId": "no-run-id-provided"
19001948
}
19011949
},
1950+
{
1951+
"entityType": "dataProcessInstance",
1952+
"entityUrn": "urn:li:dataProcessInstance:36225e795a4597b2376996774a803b0d",
1953+
"changeType": "UPSERT",
1954+
"aspectName": "dataPlatformInstance",
1955+
"aspect": {
1956+
"json": {
1957+
"platform": "urn:li:dataPlatform:dbt"
1958+
}
1959+
},
1960+
"systemMetadata": {
1961+
"lastObserved": 1643871600000,
1962+
"runId": "dbt-prefer-sql-parser-lineage",
1963+
"lastRunId": "no-run-id-provided"
1964+
}
1965+
},
19021966
{
19031967
"entityType": "dataProcessInstance",
19041968
"entityUrn": "urn:li:dataProcessInstance:36225e795a4597b2376996774a803b0d",

metadata-ingestion/tests/integration/dbt/dbt_test_test_model_performance_golden.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,22 @@
592592
"lastRunId": "no-run-id-provided"
593593
}
594594
},
595+
{
596+
"entityType": "dataProcessInstance",
597+
"entityUrn": "urn:li:dataProcessInstance:a42a5b1bee156e45972e12d4156fb7a2",
598+
"changeType": "UPSERT",
599+
"aspectName": "dataPlatformInstance",
600+
"aspect": {
601+
"json": {
602+
"platform": "urn:li:dataPlatform:dbt"
603+
}
604+
},
605+
"systemMetadata": {
606+
"lastObserved": 1643871600000,
607+
"runId": "dbt-model-performance",
608+
"lastRunId": "no-run-id-provided"
609+
}
610+
},
595611
{
596612
"entityType": "dataProcessInstance",
597613
"entityUrn": "urn:li:dataProcessInstance:a42a5b1bee156e45972e12d4156fb7a2",
@@ -1047,6 +1063,22 @@
10471063
"lastRunId": "no-run-id-provided"
10481064
}
10491065
},
1066+
{
1067+
"entityType": "dataProcessInstance",
1068+
"entityUrn": "urn:li:dataProcessInstance:fc6268f0be68fd04c310705b65efd6fe",
1069+
"changeType": "UPSERT",
1070+
"aspectName": "dataPlatformInstance",
1071+
"aspect": {
1072+
"json": {
1073+
"platform": "urn:li:dataPlatform:dbt"
1074+
}
1075+
},
1076+
"systemMetadata": {
1077+
"lastObserved": 1643871600000,
1078+
"runId": "dbt-model-performance",
1079+
"lastRunId": "no-run-id-provided"
1080+
}
1081+
},
10501082
{
10511083
"entityType": "dataProcessInstance",
10521084
"entityUrn": "urn:li:dataProcessInstance:fc6268f0be68fd04c310705b65efd6fe",
@@ -1375,6 +1407,22 @@
13751407
"lastRunId": "no-run-id-provided"
13761408
}
13771409
},
1410+
{
1411+
"entityType": "dataProcessInstance",
1412+
"entityUrn": "urn:li:dataProcessInstance:57aa623f096cf3a28af70fe94b713907",
1413+
"changeType": "UPSERT",
1414+
"aspectName": "dataPlatformInstance",
1415+
"aspect": {
1416+
"json": {
1417+
"platform": "urn:li:dataPlatform:dbt"
1418+
}
1419+
},
1420+
"systemMetadata": {
1421+
"lastObserved": 1643871600000,
1422+
"runId": "dbt-model-performance",
1423+
"lastRunId": "no-run-id-provided"
1424+
}
1425+
},
13781426
{
13791427
"entityType": "dataProcessInstance",
13801428
"entityUrn": "urn:li:dataProcessInstance:57aa623f096cf3a28af70fe94b713907",
@@ -1899,6 +1947,22 @@
18991947
"lastRunId": "no-run-id-provided"
19001948
}
19011949
},
1950+
{
1951+
"entityType": "dataProcessInstance",
1952+
"entityUrn": "urn:li:dataProcessInstance:36225e795a4597b2376996774a803b0d",
1953+
"changeType": "UPSERT",
1954+
"aspectName": "dataPlatformInstance",
1955+
"aspect": {
1956+
"json": {
1957+
"platform": "urn:li:dataPlatform:dbt"
1958+
}
1959+
},
1960+
"systemMetadata": {
1961+
"lastObserved": 1643871600000,
1962+
"runId": "dbt-model-performance",
1963+
"lastRunId": "no-run-id-provided"
1964+
}
1965+
},
19021966
{
19031967
"entityType": "dataProcessInstance",
19041968
"entityUrn": "urn:li:dataProcessInstance:36225e795a4597b2376996774a803b0d",

metadata-ingestion/tests/integration/fivetran/fivetran_snowflake_empty_connection_user_golden.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,23 @@
265265
"lastRunId": "no-run-id-provided"
266266
}
267267
},
268+
{
269+
"entityType": "dataProcessInstance",
270+
"entityUrn": "urn:li:dataProcessInstance:ee88d32dbe3133a23a9023c097050190",
271+
"changeType": "UPSERT",
272+
"aspectName": "dataPlatformInstance",
273+
"aspect": {
274+
"json": {
275+
"platform": "urn:li:dataPlatform:fivetran",
276+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
277+
}
278+
},
279+
"systemMetadata": {
280+
"lastObserved": 1654621200000,
281+
"runId": "powerbi-test",
282+
"lastRunId": "no-run-id-provided"
283+
}
284+
},
268285
{
269286
"entityType": "dataProcessInstance",
270287
"entityUrn": "urn:li:dataProcessInstance:ee88d32dbe3133a23a9023c097050190",
@@ -388,6 +405,23 @@
388405
"lastRunId": "no-run-id-provided"
389406
}
390407
},
408+
{
409+
"entityType": "dataProcessInstance",
410+
"entityUrn": "urn:li:dataProcessInstance:be36f55c13ec4e313c7510770e50784a",
411+
"changeType": "UPSERT",
412+
"aspectName": "dataPlatformInstance",
413+
"aspect": {
414+
"json": {
415+
"platform": "urn:li:dataPlatform:fivetran",
416+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
417+
}
418+
},
419+
"systemMetadata": {
420+
"lastObserved": 1654621200000,
421+
"runId": "powerbi-test",
422+
"lastRunId": "no-run-id-provided"
423+
}
424+
},
391425
{
392426
"entityType": "dataProcessInstance",
393427
"entityUrn": "urn:li:dataProcessInstance:be36f55c13ec4e313c7510770e50784a",
@@ -511,6 +545,23 @@
511545
"lastRunId": "no-run-id-provided"
512546
}
513547
},
548+
{
549+
"entityType": "dataProcessInstance",
550+
"entityUrn": "urn:li:dataProcessInstance:d8f100271d2dc3fa905717f82d083c8d",
551+
"changeType": "UPSERT",
552+
"aspectName": "dataPlatformInstance",
553+
"aspect": {
554+
"json": {
555+
"platform": "urn:li:dataPlatform:fivetran",
556+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
557+
}
558+
},
559+
"systemMetadata": {
560+
"lastObserved": 1654621200000,
561+
"runId": "powerbi-test",
562+
"lastRunId": "no-run-id-provided"
563+
}
564+
},
514565
{
515566
"entityType": "dataProcessInstance",
516567
"entityUrn": "urn:li:dataProcessInstance:d8f100271d2dc3fa905717f82d083c8d",
@@ -814,6 +865,23 @@
814865
"lastRunId": "no-run-id-provided"
815866
}
816867
},
868+
{
869+
"entityType": "dataProcessInstance",
870+
"entityUrn": "urn:li:dataProcessInstance:08bddbc8007d76bfbbb8e231d1c65290",
871+
"changeType": "UPSERT",
872+
"aspectName": "dataPlatformInstance",
873+
"aspect": {
874+
"json": {
875+
"platform": "urn:li:dataPlatform:fivetran",
876+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
877+
}
878+
},
879+
"systemMetadata": {
880+
"lastObserved": 1654621200000,
881+
"runId": "powerbi-test",
882+
"lastRunId": "no-run-id-provided"
883+
}
884+
},
817885
{
818886
"entityType": "dataProcessInstance",
819887
"entityUrn": "urn:li:dataProcessInstance:08bddbc8007d76bfbbb8e231d1c65290",

metadata-ingestion/tests/integration/fivetran/fivetran_snowflake_golden.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,23 @@
273273
"lastRunId": "no-run-id-provided"
274274
}
275275
},
276+
{
277+
"entityType": "dataProcessInstance",
278+
"entityUrn": "urn:li:dataProcessInstance:ee88d32dbe3133a23a9023c097050190",
279+
"changeType": "UPSERT",
280+
"aspectName": "dataPlatformInstance",
281+
"aspect": {
282+
"json": {
283+
"platform": "urn:li:dataPlatform:fivetran",
284+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
285+
}
286+
},
287+
"systemMetadata": {
288+
"lastObserved": 1654621200000,
289+
"runId": "powerbi-test",
290+
"lastRunId": "no-run-id-provided"
291+
}
292+
},
276293
{
277294
"entityType": "dataProcessInstance",
278295
"entityUrn": "urn:li:dataProcessInstance:ee88d32dbe3133a23a9023c097050190",
@@ -396,6 +413,23 @@
396413
"lastRunId": "no-run-id-provided"
397414
}
398415
},
416+
{
417+
"entityType": "dataProcessInstance",
418+
"entityUrn": "urn:li:dataProcessInstance:be36f55c13ec4e313c7510770e50784a",
419+
"changeType": "UPSERT",
420+
"aspectName": "dataPlatformInstance",
421+
"aspect": {
422+
"json": {
423+
"platform": "urn:li:dataPlatform:fivetran",
424+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
425+
}
426+
},
427+
"systemMetadata": {
428+
"lastObserved": 1654621200000,
429+
"runId": "powerbi-test",
430+
"lastRunId": "no-run-id-provided"
431+
}
432+
},
399433
{
400434
"entityType": "dataProcessInstance",
401435
"entityUrn": "urn:li:dataProcessInstance:be36f55c13ec4e313c7510770e50784a",
@@ -519,6 +553,23 @@
519553
"lastRunId": "no-run-id-provided"
520554
}
521555
},
556+
{
557+
"entityType": "dataProcessInstance",
558+
"entityUrn": "urn:li:dataProcessInstance:d8f100271d2dc3fa905717f82d083c8d",
559+
"changeType": "UPSERT",
560+
"aspectName": "dataPlatformInstance",
561+
"aspect": {
562+
"json": {
563+
"platform": "urn:li:dataPlatform:fivetran",
564+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
565+
}
566+
},
567+
"systemMetadata": {
568+
"lastObserved": 1654621200000,
569+
"runId": "powerbi-test",
570+
"lastRunId": "no-run-id-provided"
571+
}
572+
},
522573
{
523574
"entityType": "dataProcessInstance",
524575
"entityUrn": "urn:li:dataProcessInstance:d8f100271d2dc3fa905717f82d083c8d",
@@ -830,6 +881,23 @@
830881
"lastRunId": "no-run-id-provided"
831882
}
832883
},
884+
{
885+
"entityType": "dataProcessInstance",
886+
"entityUrn": "urn:li:dataProcessInstance:08bddbc8007d76bfbbb8e231d1c65290",
887+
"changeType": "UPSERT",
888+
"aspectName": "dataPlatformInstance",
889+
"aspect": {
890+
"json": {
891+
"platform": "urn:li:dataPlatform:fivetran",
892+
"instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:fivetran,PROD)"
893+
}
894+
},
895+
"systemMetadata": {
896+
"lastObserved": 1654621200000,
897+
"runId": "powerbi-test",
898+
"lastRunId": "no-run-id-provided"
899+
}
900+
},
833901
{
834902
"entityType": "dataProcessInstance",
835903
"entityUrn": "urn:li:dataProcessInstance:08bddbc8007d76bfbbb8e231d1c65290",

0 commit comments

Comments
 (0)