Skip to content

Commit 31f030b

Browse files
committed
fix(ingest/powerbi): Update golden files
1 parent 730f1b8 commit 31f030b

16 files changed

+5259
-6
lines changed

metadata-ingestion/tests/integration/powerbi/golden_test_admin_only.json

+547
Large diffs are not rendered by default.

metadata-ingestion/tests/integration/powerbi/golden_test_cll.json

+330
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,39 @@
1717
"lastRunId": "no-run-id-provided"
1818
}
1919
},
20+
{
21+
"entityType": "dataset",
22+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)",
23+
"changeType": "UPSERT",
24+
"aspectName": "schemaMetadata",
25+
"aspect": {
26+
"json": {
27+
"schemaName": "public issue_history",
28+
"platform": "urn:li:dataPlatform:powerbi",
29+
"version": 0,
30+
"created": {
31+
"time": 0,
32+
"actor": "urn:li:corpuser:unknown"
33+
},
34+
"lastModified": {
35+
"time": 0,
36+
"actor": "urn:li:corpuser:unknown"
37+
},
38+
"hash": "",
39+
"platformSchema": {
40+
"com.linkedin.schema.OtherSchema": {
41+
"rawSchema": ""
42+
}
43+
},
44+
"fields": []
45+
}
46+
},
47+
"systemMetadata": {
48+
"lastObserved": 1643871600000,
49+
"runId": "powerbi-test",
50+
"lastRunId": "no-run-id-provided"
51+
}
52+
},
2053
{
2154
"entityType": "dataset",
2255
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.public_issue_history,DEV)",
@@ -129,6 +162,39 @@
129162
"lastRunId": "no-run-id-provided"
130163
}
131164
},
165+
{
166+
"entityType": "dataset",
167+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.SNOWFLAKE_TESTTABLE,DEV)",
168+
"changeType": "UPSERT",
169+
"aspectName": "schemaMetadata",
170+
"aspect": {
171+
"json": {
172+
"schemaName": "SNOWFLAKE_TESTTABLE",
173+
"platform": "urn:li:dataPlatform:powerbi",
174+
"version": 0,
175+
"created": {
176+
"time": 0,
177+
"actor": "urn:li:corpuser:unknown"
178+
},
179+
"lastModified": {
180+
"time": 0,
181+
"actor": "urn:li:corpuser:unknown"
182+
},
183+
"hash": "",
184+
"platformSchema": {
185+
"com.linkedin.schema.OtherSchema": {
186+
"rawSchema": ""
187+
}
188+
},
189+
"fields": []
190+
}
191+
},
192+
"systemMetadata": {
193+
"lastObserved": 1643871600000,
194+
"runId": "powerbi-test",
195+
"lastRunId": "no-run-id-provided"
196+
}
197+
},
132198
{
133199
"entityType": "chart",
134200
"entityUrn": "urn:li:chart:(powerbi,charts.B8E293DC-0C83-4AA0-9BB9-0A8738DF24A0)",
@@ -236,6 +302,39 @@
236302
"lastRunId": "no-run-id-provided"
237303
}
238304
},
305+
{
306+
"entityType": "dataset",
307+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.snowflake_native-query,DEV)",
308+
"changeType": "UPSERT",
309+
"aspectName": "schemaMetadata",
310+
"aspect": {
311+
"json": {
312+
"schemaName": "snowflake native-query",
313+
"platform": "urn:li:dataPlatform:powerbi",
314+
"version": 0,
315+
"created": {
316+
"time": 0,
317+
"actor": "urn:li:corpuser:unknown"
318+
},
319+
"lastModified": {
320+
"time": 0,
321+
"actor": "urn:li:corpuser:unknown"
322+
},
323+
"hash": "",
324+
"platformSchema": {
325+
"com.linkedin.schema.OtherSchema": {
326+
"rawSchema": ""
327+
}
328+
},
329+
"fields": []
330+
}
331+
},
332+
"systemMetadata": {
333+
"lastObserved": 1643871600000,
334+
"runId": "powerbi-test",
335+
"lastRunId": "no-run-id-provided"
336+
}
337+
},
239338
{
240339
"entityType": "dataset",
241340
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.snowflake_native-query,DEV)",
@@ -346,6 +445,39 @@
346445
"lastRunId": "no-run-id-provided"
347446
}
348447
},
448+
{
449+
"entityType": "dataset",
450+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.big-query-with-parameter,DEV)",
451+
"changeType": "UPSERT",
452+
"aspectName": "schemaMetadata",
453+
"aspect": {
454+
"json": {
455+
"schemaName": "big-query-with-parameter",
456+
"platform": "urn:li:dataPlatform:powerbi",
457+
"version": 0,
458+
"created": {
459+
"time": 0,
460+
"actor": "urn:li:corpuser:unknown"
461+
},
462+
"lastModified": {
463+
"time": 0,
464+
"actor": "urn:li:corpuser:unknown"
465+
},
466+
"hash": "",
467+
"platformSchema": {
468+
"com.linkedin.schema.OtherSchema": {
469+
"rawSchema": ""
470+
}
471+
},
472+
"fields": []
473+
}
474+
},
475+
"systemMetadata": {
476+
"lastObserved": 1643871600000,
477+
"runId": "powerbi-test",
478+
"lastRunId": "no-run-id-provided"
479+
}
480+
},
349481
{
350482
"entityType": "chart",
351483
"entityUrn": "urn:li:chart:(powerbi,charts.B8E293DC-0C83-4AA0-9BB9-0A8738DF24A0)",
@@ -442,6 +574,39 @@
442574
"lastRunId": "no-run-id-provided"
443575
}
444576
},
577+
{
578+
"entityType": "dataset",
579+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.snowflake_native-query-with-join,DEV)",
580+
"changeType": "UPSERT",
581+
"aspectName": "schemaMetadata",
582+
"aspect": {
583+
"json": {
584+
"schemaName": "snowflake native-query-with-join",
585+
"platform": "urn:li:dataPlatform:powerbi",
586+
"version": 0,
587+
"created": {
588+
"time": 0,
589+
"actor": "urn:li:corpuser:unknown"
590+
},
591+
"lastModified": {
592+
"time": 0,
593+
"actor": "urn:li:corpuser:unknown"
594+
},
595+
"hash": "",
596+
"platformSchema": {
597+
"com.linkedin.schema.OtherSchema": {
598+
"rawSchema": ""
599+
}
600+
},
601+
"fields": []
602+
}
603+
},
604+
"systemMetadata": {
605+
"lastObserved": 1643871600000,
606+
"runId": "powerbi-test",
607+
"lastRunId": "no-run-id-provided"
608+
}
609+
},
445610
{
446611
"entityType": "chart",
447612
"entityUrn": "urn:li:chart:(powerbi,charts.23212598-23b5-4980-87cc-5fc0ecd84385)",
@@ -554,6 +719,39 @@
554719
"lastRunId": "no-run-id-provided"
555720
}
556721
},
722+
{
723+
"entityType": "dataset",
724+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.job-history,DEV)",
725+
"changeType": "UPSERT",
726+
"aspectName": "schemaMetadata",
727+
"aspect": {
728+
"json": {
729+
"schemaName": "job-history",
730+
"platform": "urn:li:dataPlatform:powerbi",
731+
"version": 0,
732+
"created": {
733+
"time": 0,
734+
"actor": "urn:li:corpuser:unknown"
735+
},
736+
"lastModified": {
737+
"time": 0,
738+
"actor": "urn:li:corpuser:unknown"
739+
},
740+
"hash": "",
741+
"platformSchema": {
742+
"com.linkedin.schema.OtherSchema": {
743+
"rawSchema": ""
744+
}
745+
},
746+
"fields": []
747+
}
748+
},
749+
"systemMetadata": {
750+
"lastObserved": 1643871600000,
751+
"runId": "powerbi-test",
752+
"lastRunId": "no-run-id-provided"
753+
}
754+
},
557755
{
558756
"entityType": "chart",
559757
"entityUrn": "urn:li:chart:(powerbi,charts.23212598-23b5-4980-87cc-5fc0ecd84385)",
@@ -710,6 +908,39 @@
710908
"lastRunId": "no-run-id-provided"
711909
}
712910
},
911+
{
912+
"entityType": "dataset",
913+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,library-dataset.postgres_test_table,DEV)",
914+
"changeType": "UPSERT",
915+
"aspectName": "schemaMetadata",
916+
"aspect": {
917+
"json": {
918+
"schemaName": "postgres_test_table",
919+
"platform": "urn:li:dataPlatform:powerbi",
920+
"version": 0,
921+
"created": {
922+
"time": 0,
923+
"actor": "urn:li:corpuser:unknown"
924+
},
925+
"lastModified": {
926+
"time": 0,
927+
"actor": "urn:li:corpuser:unknown"
928+
},
929+
"hash": "",
930+
"platformSchema": {
931+
"com.linkedin.schema.OtherSchema": {
932+
"rawSchema": ""
933+
}
934+
},
935+
"fields": []
936+
}
937+
},
938+
"systemMetadata": {
939+
"lastObserved": 1643871600000,
940+
"runId": "powerbi-test",
941+
"lastRunId": "no-run-id-provided"
942+
}
943+
},
713944
{
714945
"entityType": "dashboard",
715946
"entityUrn": "urn:li:dashboard:(powerbi,dashboards.7D668CAD-7FFC-4505-9215-655BCA5BEBAE)",
@@ -813,6 +1044,39 @@
8131044
"lastRunId": "no-run-id-provided"
8141045
}
8151046
},
1047+
{
1048+
"entityType": "dataset",
1049+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)",
1050+
"changeType": "UPSERT",
1051+
"aspectName": "schemaMetadata",
1052+
"aspect": {
1053+
"json": {
1054+
"schemaName": "dbo_book_issue",
1055+
"platform": "urn:li:dataPlatform:powerbi",
1056+
"version": 0,
1057+
"created": {
1058+
"time": 0,
1059+
"actor": "urn:li:corpuser:unknown"
1060+
},
1061+
"lastModified": {
1062+
"time": 0,
1063+
"actor": "urn:li:corpuser:unknown"
1064+
},
1065+
"hash": "",
1066+
"platformSchema": {
1067+
"com.linkedin.schema.OtherSchema": {
1068+
"rawSchema": ""
1069+
}
1070+
},
1071+
"fields": []
1072+
}
1073+
},
1074+
"systemMetadata": {
1075+
"lastObserved": 1643871600000,
1076+
"runId": "powerbi-test",
1077+
"lastRunId": "no-run-id-provided"
1078+
}
1079+
},
8161080
{
8171081
"entityType": "dataset",
8181082
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)",
@@ -945,6 +1209,39 @@
9451209
"lastRunId": "no-run-id-provided"
9461210
}
9471211
},
1212+
{
1213+
"entityType": "dataset",
1214+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.ms_sql_native_table,DEV)",
1215+
"changeType": "UPSERT",
1216+
"aspectName": "schemaMetadata",
1217+
"aspect": {
1218+
"json": {
1219+
"schemaName": "ms_sql_native_table",
1220+
"platform": "urn:li:dataPlatform:powerbi",
1221+
"version": 0,
1222+
"created": {
1223+
"time": 0,
1224+
"actor": "urn:li:corpuser:unknown"
1225+
},
1226+
"lastModified": {
1227+
"time": 0,
1228+
"actor": "urn:li:corpuser:unknown"
1229+
},
1230+
"hash": "",
1231+
"platformSchema": {
1232+
"com.linkedin.schema.OtherSchema": {
1233+
"rawSchema": ""
1234+
}
1235+
},
1236+
"fields": []
1237+
}
1238+
},
1239+
"systemMetadata": {
1240+
"lastObserved": 1643871600000,
1241+
"runId": "powerbi-test",
1242+
"lastRunId": "no-run-id-provided"
1243+
}
1244+
},
9481245
{
9491246
"entityType": "dataset",
9501247
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,hr_pbi_test.dbo_book_issue,DEV)",
@@ -1530,5 +1827,38 @@
15301827
"runId": "powerbi-test",
15311828
"lastRunId": "no-run-id-provided"
15321829
}
1830+
},
1831+
{
1832+
"entityType": "dataset",
1833+
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:powerbi,employee-dataset.employee_ctc,DEV)",
1834+
"changeType": "UPSERT",
1835+
"aspectName": "schemaMetadata",
1836+
"aspect": {
1837+
"json": {
1838+
"schemaName": "employee_ctc",
1839+
"platform": "urn:li:dataPlatform:powerbi",
1840+
"version": 0,
1841+
"created": {
1842+
"time": 0,
1843+
"actor": "urn:li:corpuser:unknown"
1844+
},
1845+
"lastModified": {
1846+
"time": 0,
1847+
"actor": "urn:li:corpuser:unknown"
1848+
},
1849+
"hash": "",
1850+
"platformSchema": {
1851+
"com.linkedin.schema.OtherSchema": {
1852+
"rawSchema": ""
1853+
}
1854+
},
1855+
"fields": []
1856+
}
1857+
},
1858+
"systemMetadata": {
1859+
"lastObserved": 1643871600000,
1860+
"runId": "powerbi-test",
1861+
"lastRunId": "no-run-id-provided"
1862+
}
15331863
}
15341864
]

0 commit comments

Comments
 (0)