castor-extractor 0.22.1__py3-none-any.whl → 0.22.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of castor-extractor might be problematic. Click here for more details.
- CHANGELOG.md +21 -0
- castor_extractor/file_checker/file.py +1 -1
- castor_extractor/visualization/powerbi/assets.py +2 -12
- castor_extractor/visualization/powerbi/extract.py +2 -2
- castor_extractor/visualization/sigma/client/client.py +64 -10
- castor_extractor/visualization/thoughtspot/assets.py +3 -1
- castor_extractor/visualization/thoughtspot/client/client.py +67 -14
- castor_extractor/visualization/thoughtspot/client/utils.py +10 -4
- castor_extractor/visualization/thoughtspot/client/utils_test.py +22 -4
- castor_extractor/warehouse/abstract/extract.py +1 -1
- castor_extractor/warehouse/bigquery/client.py +3 -3
- castor_extractor/warehouse/databricks/api_client.py +2 -60
- castor_extractor/warehouse/databricks/client.py +4 -47
- castor_extractor/warehouse/databricks/client_test.py +1 -35
- castor_extractor/warehouse/databricks/credentials.py +4 -6
- castor_extractor/warehouse/databricks/enums.py +15 -0
- castor_extractor/warehouse/databricks/extract.py +13 -11
- castor_extractor/warehouse/databricks/lineage.py +47 -119
- castor_extractor/warehouse/databricks/lineage_test.py +86 -31
- castor_extractor/warehouse/databricks/sql_client.py +23 -8
- castor_extractor/warehouse/databricks/types.py +0 -7
- {castor_extractor-0.22.1.dist-info → castor_extractor-0.22.6.dist-info}/METADATA +24 -3
- {castor_extractor-0.22.1.dist-info → castor_extractor-0.22.6.dist-info}/RECORD +26 -26
- castor_extractor/warehouse/databricks/test_constants.py +0 -79
- {castor_extractor-0.22.1.dist-info → castor_extractor-0.22.6.dist-info}/LICENCE +0 -0
- {castor_extractor-0.22.1.dist-info → castor_extractor-0.22.6.dist-info}/WHEEL +0 -0
- {castor_extractor-0.22.1.dist-info → castor_extractor-0.22.6.dist-info}/entry_points.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
CHANGELOG.md,sha256=
|
|
1
|
+
CHANGELOG.md,sha256=NINE1E6fLk7AivCkBrN79ea93u3F3bwlZzvn8xvwSbM,15414
|
|
2
2
|
Dockerfile,sha256=xQ05-CFfGShT3oUqaiumaldwA288dj9Yb_pxofQpufg,301
|
|
3
3
|
DockerfileUsage.md,sha256=2hkJQF-5JuuzfPZ7IOxgM6QgIQW7l-9oRMFVwyXC4gE,998
|
|
4
4
|
LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
|
|
@@ -33,7 +33,7 @@ castor_extractor/file_checker/column.py,sha256=6bJhcW1snYwgHKkqlS0Ak7XLHZr4YBwO4
|
|
|
33
33
|
castor_extractor/file_checker/column_test.py,sha256=1j8PxvmvmJgpd-mk30iMYOme32ovPSIn4yCXywFoXrg,1935
|
|
34
34
|
castor_extractor/file_checker/constants.py,sha256=X9UvTqcKKZf0pkJErngq0UH_e9PL0dXUlS1g_Lbo5q8,289
|
|
35
35
|
castor_extractor/file_checker/enums.py,sha256=Js8YN8hAoPChH1j2I7Mmk1yHsSNh8WjndHv4gz7c9KA,536
|
|
36
|
-
castor_extractor/file_checker/file.py,sha256=
|
|
36
|
+
castor_extractor/file_checker/file.py,sha256=WXcnsqnDA5mF26sPuMPnCVtusNe3IIM8QVJdqXRiqrA,6537
|
|
37
37
|
castor_extractor/file_checker/file_test.py,sha256=gFcXiRdzX7q5gWEJ2JaywRCHP6Kq1OH2yk5gh92V6KY,2124
|
|
38
38
|
castor_extractor/file_checker/file_test_users.csv,sha256=ftw4T_RBg71c8_DAxnd9fHG3FNg4mwbEQKe1DuEn3ps,547
|
|
39
39
|
castor_extractor/file_checker/file_test_users_valid.csv,sha256=Ek3q7DjUS0neOu1LQaNmObINdEIR3qeHvI4IuKuHLSA,286
|
|
@@ -215,7 +215,7 @@ castor_extractor/visualization/mode/client/credentials.py,sha256=ptIpCCpoNt06yYa
|
|
|
215
215
|
castor_extractor/visualization/mode/errors.py,sha256=SKpFT2AiLOuWx2VRLyO7jbAiKcGDFXXrsebpNEKtr0E,1495
|
|
216
216
|
castor_extractor/visualization/mode/extract.py,sha256=PmLWWjUwplQh3TNMemiGwyFdxMcKVMvumZPxSMLJAwk,1625
|
|
217
217
|
castor_extractor/visualization/powerbi/__init__.py,sha256=AJnmfdmm2mGaInWJkUfZxRqrI7dBkTUSebpow05g5zo,135
|
|
218
|
-
castor_extractor/visualization/powerbi/assets.py,sha256=
|
|
218
|
+
castor_extractor/visualization/powerbi/assets.py,sha256=IB_XKwgdN1pZYGZ4RfeHrLjflianTzWf_6tg-4CIwu0,742
|
|
219
219
|
castor_extractor/visualization/powerbi/client/__init__.py,sha256=8Bzhd9Z0ebVg2gDchXCOPa80Yqlq_9oCjbGi8u1M6J0,93
|
|
220
220
|
castor_extractor/visualization/powerbi/client/authentication.py,sha256=fz0v9qxeADwA1jiS9UzAQN5mA5kmZT53onlcWon2RGw,892
|
|
221
221
|
castor_extractor/visualization/powerbi/client/client.py,sha256=Y_rwkyPO3GbTAtaOClqnGVEK5iWmREIuDKDJx0LefHs,7203
|
|
@@ -225,7 +225,7 @@ castor_extractor/visualization/powerbi/client/credentials.py,sha256=sVi4ecJP8ydf
|
|
|
225
225
|
castor_extractor/visualization/powerbi/client/credentials_test.py,sha256=TzFqxsWVQ3sXR_n0bJsexK9Uz7ceXCEPVqDGWTJzW60,993
|
|
226
226
|
castor_extractor/visualization/powerbi/client/endpoints.py,sha256=DrAFpYHhp9Z7fxebdy_Ir6LFfFluHRBJId4tVCYTUVs,2051
|
|
227
227
|
castor_extractor/visualization/powerbi/client/pagination.py,sha256=OZMjoDQPRGMoWd9QcKKrPh3aErJR20SHlrTqY_siLkk,755
|
|
228
|
-
castor_extractor/visualization/powerbi/extract.py,sha256=
|
|
228
|
+
castor_extractor/visualization/powerbi/extract.py,sha256=Z5KbqMhMnqjWcnzged2G1-Gf6GYWJobTL9_TpAdgb8o,1309
|
|
229
229
|
castor_extractor/visualization/qlik/__init__.py,sha256=u6lIfm_WOykBwt6SlaB7C0Dtx37XBliUbM5oWv26gC8,177
|
|
230
230
|
castor_extractor/visualization/qlik/assets.py,sha256=Ab_kG61mHcK8GoGZbfQW7RSWyd7D9bVga9DOqnm0iSE,1625
|
|
231
231
|
castor_extractor/visualization/qlik/client/__init__.py,sha256=5O5N9Jrt3d99agFEJ28lKWs2KkDaXK-lZ07IUtLj56M,130
|
|
@@ -252,7 +252,7 @@ castor_extractor/visualization/salesforce_reporting/extract.py,sha256=ScStilebLG
|
|
|
252
252
|
castor_extractor/visualization/sigma/__init__.py,sha256=GINql4yJLtjfOJgjHaWNpE13cMtnKNytiFRomwav27Q,114
|
|
253
253
|
castor_extractor/visualization/sigma/assets.py,sha256=JZ1Cpxnml8P3mIJoTUM57hvylB18ErECQXaP5FF63O4,268
|
|
254
254
|
castor_extractor/visualization/sigma/client/__init__.py,sha256=YQv06FBBQHvBMFg_tN0nUcmUp2NCL2s-eFTXG8rXaBg,74
|
|
255
|
-
castor_extractor/visualization/sigma/client/client.py,sha256=
|
|
255
|
+
castor_extractor/visualization/sigma/client/client.py,sha256=d9CpE7vRZAPGzck0jFn37LY_6E_Njz9D1sCnFVGJSWk,8006
|
|
256
256
|
castor_extractor/visualization/sigma/client/credentials.py,sha256=XddAuQSmCKpxJ70TQgRnOj0vMPYVtiStk_lMMQ1AiNM,693
|
|
257
257
|
castor_extractor/visualization/sigma/client/endpoints.py,sha256=DBFphbgoH78_MZUGM_bKBAq28Nl7LWSZ6VRsbxrxtDg,1162
|
|
258
258
|
castor_extractor/visualization/sigma/client/pagination.py,sha256=kNEhNq08tTGbypyMjxs0w4uvDtQc_iaWpOZweaa_FsU,690
|
|
@@ -306,24 +306,24 @@ castor_extractor/visualization/tableau_revamp/client/rest_fields.py,sha256=3kvaq
|
|
|
306
306
|
castor_extractor/visualization/tableau_revamp/constants.py,sha256=lHGB50FgVNO2nXeIhkvQKivD8ZFBIjDrflgD5cTXKJw,104
|
|
307
307
|
castor_extractor/visualization/tableau_revamp/extract.py,sha256=HqnBypuNGx_xKk-68WEOy_ucD15LuRF4t2xXf0XKPE0,1370
|
|
308
308
|
castor_extractor/visualization/thoughtspot/__init__.py,sha256=NhTGUk5Kdt54oCjHYoAt0cLBmVLys5lFYiRANL6wCmI,150
|
|
309
|
-
castor_extractor/visualization/thoughtspot/assets.py,sha256=
|
|
309
|
+
castor_extractor/visualization/thoughtspot/assets.py,sha256=SAQWPKaD2NTSDg7-GSkcRSSEkKSws0MJfOVcHkdeTSg,276
|
|
310
310
|
castor_extractor/visualization/thoughtspot/client/__init__.py,sha256=svrE2rMxR-OXctjPeAHMEPePlfcra-9KDevTMcHunAA,86
|
|
311
|
-
castor_extractor/visualization/thoughtspot/client/client.py,sha256=
|
|
311
|
+
castor_extractor/visualization/thoughtspot/client/client.py,sha256=mtwMCPI1-1tyZb1gSYYr-O2QZMTFQwNgillU6ycsOU4,5552
|
|
312
312
|
castor_extractor/visualization/thoughtspot/client/credentials.py,sha256=fp4YHiZy-dstWiLr5c4kFU9SyPK5rd2nCeh8k5sVRpM,462
|
|
313
313
|
castor_extractor/visualization/thoughtspot/client/endpoints.py,sha256=u3FRkmG6j5OIMEeXWZcgRObP8JeC4EutIJEeitNV44c,330
|
|
314
|
-
castor_extractor/visualization/thoughtspot/client/utils.py,sha256=
|
|
315
|
-
castor_extractor/visualization/thoughtspot/client/utils_test.py,sha256
|
|
314
|
+
castor_extractor/visualization/thoughtspot/client/utils.py,sha256=3LgbIWoG1e39VW8rYaV4ot_0EFipziwf3rFAZKxrlEY,1072
|
|
315
|
+
castor_extractor/visualization/thoughtspot/client/utils_test.py,sha256=2XysRU7a58KA2JgNwU2j4GPrN0rkN7Gvk8kQCJlYXVk,2469
|
|
316
316
|
castor_extractor/visualization/thoughtspot/extract.py,sha256=mcXS0jGFpa50td98AVbbTqxchyI5wDCpB-v1o5iRc3g,1354
|
|
317
317
|
castor_extractor/warehouse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
318
318
|
castor_extractor/warehouse/abstract/__init__.py,sha256=Fdfa026tgOo64MvzVRLHM_F2G-JmcehrF0mh3dHgb7s,419
|
|
319
319
|
castor_extractor/warehouse/abstract/asset.py,sha256=JiFRohZfPkQrgJJ8gTirD69snY1ubjPr5_Mg3vM--RY,2647
|
|
320
320
|
castor_extractor/warehouse/abstract/asset_test.py,sha256=_kd4ybNlWSAdSdEgJKC-jhJTa1nMRa9i8RO3YbqKLM4,758
|
|
321
|
-
castor_extractor/warehouse/abstract/extract.py,sha256=
|
|
321
|
+
castor_extractor/warehouse/abstract/extract.py,sha256=9Y2fUn3y2-2WjiHnrabjvAvOA8UETJeTYr18zcM7bdI,2924
|
|
322
322
|
castor_extractor/warehouse/abstract/query.py,sha256=20vGhKKX0Kdprj0pbyt0A7L82hwVPezovx38h8seEfA,2614
|
|
323
323
|
castor_extractor/warehouse/abstract/time_filter.py,sha256=bggIONfMmUxffkA6TwM3BsjfS2l9WFxPq8krfsau5pw,935
|
|
324
324
|
castor_extractor/warehouse/abstract/time_filter_test.py,sha256=PIkegB7KOKBdpc6zIvmyl_CeQyADeFDplyQ8HTNU5LA,448
|
|
325
325
|
castor_extractor/warehouse/bigquery/__init__.py,sha256=PCGNYdi7dHv-SyanUWzRuBp-ypuQ01PkDaQjVnaNhbM,170
|
|
326
|
-
castor_extractor/warehouse/bigquery/client.py,sha256=
|
|
326
|
+
castor_extractor/warehouse/bigquery/client.py,sha256=lPAn6WUwDq0rIPNaMOcabet8C4TYJ93EWZUxX72XrZc,5595
|
|
327
327
|
castor_extractor/warehouse/bigquery/client_test.py,sha256=Ym8e4d--0YQwiVcNUnXLx0X-X6ZznwNMBMbMaDS5oEA,1514
|
|
328
328
|
castor_extractor/warehouse/bigquery/credentials.py,sha256=oCZ8H7qpudKzwM7PRMpVAmWXt7bjIRa8Harmp-ysQJ4,425
|
|
329
329
|
castor_extractor/warehouse/bigquery/extract.py,sha256=TAxpdwZ6kfSe7xv22vcFwAE3-Rr1VF9UnX0DM_IPdF8,2934
|
|
@@ -340,21 +340,21 @@ castor_extractor/warehouse/bigquery/queries/view_ddl.sql,sha256=obCm-IN9V8_YSZTw
|
|
|
340
340
|
castor_extractor/warehouse/bigquery/query.py,sha256=FEekxlkrfAXzsT8Kj1AIqYd5mURB5MlZIkbFVXVqEhU,4762
|
|
341
341
|
castor_extractor/warehouse/bigquery/types.py,sha256=rfKkKA13Et7TM4I0uVaXkLfuaBXkv51bNTp4AO0QSdw,57
|
|
342
342
|
castor_extractor/warehouse/databricks/__init__.py,sha256=YG3YSIJgCFRjjI8eExy9T7qGnfnjWhMFh8c15KTs_BA,184
|
|
343
|
-
castor_extractor/warehouse/databricks/api_client.py,sha256=
|
|
343
|
+
castor_extractor/warehouse/databricks/api_client.py,sha256=kLcUGSgrfybZUrpt0tE7qe2OoSSN7IK4myyB7c0czOY,6260
|
|
344
344
|
castor_extractor/warehouse/databricks/api_client_test.py,sha256=YTWC-X7L-XAfK5b39TUgTmR1ifv0QrY5tvLNoSbpmjg,466
|
|
345
|
-
castor_extractor/warehouse/databricks/client.py,sha256=
|
|
346
|
-
castor_extractor/warehouse/databricks/client_test.py,sha256=
|
|
347
|
-
castor_extractor/warehouse/databricks/credentials.py,sha256=
|
|
345
|
+
castor_extractor/warehouse/databricks/client.py,sha256=H6vcKfos7op5AKSQF9qduG4afx-GZgBdyGE7waS6__o,3292
|
|
346
|
+
castor_extractor/warehouse/databricks/client_test.py,sha256=hOuSPh45z6m9T1hjuqpOayby_q8bYdJVdq5qiwkiXrg,1370
|
|
347
|
+
castor_extractor/warehouse/databricks/credentials.py,sha256=ExtVcl2NpMXTx1Lg8vHQdzQtSEm2aqpg3D1BJrNAUjI,528
|
|
348
348
|
castor_extractor/warehouse/databricks/endpoints.py,sha256=qPoL9CtPFJdwVuW9rJ37nmeMd-nChOBouEVYb4SlaUE,670
|
|
349
|
-
castor_extractor/warehouse/databricks/
|
|
349
|
+
castor_extractor/warehouse/databricks/enums.py,sha256=3T6BbVvbWvfWkD23krsYT1x0kKh1qRzNPl6WpcXe300,274
|
|
350
|
+
castor_extractor/warehouse/databricks/extract.py,sha256=Z4VTEIf0QMiua0QGAlJdQ86kxmGAXekQ304aCKme6IY,7358
|
|
350
351
|
castor_extractor/warehouse/databricks/format.py,sha256=FUBMrFFWSa_lX5PtixJCDR3eRYycqeMw0oKHt7AkA4o,6732
|
|
351
352
|
castor_extractor/warehouse/databricks/format_test.py,sha256=ls0IcOElqp_qecAzNbK0zdca7Pms4seCHimbw8NAoAI,3322
|
|
352
|
-
castor_extractor/warehouse/databricks/lineage.py,sha256=
|
|
353
|
-
castor_extractor/warehouse/databricks/lineage_test.py,sha256=
|
|
353
|
+
castor_extractor/warehouse/databricks/lineage.py,sha256=jwiRXrgqBAtzQt5EgErYrN8YRyviEEHmyrSbw8TSPq4,2105
|
|
354
|
+
castor_extractor/warehouse/databricks/lineage_test.py,sha256=PyBn1eAoxLm4Bz5M0F4zmaxFX2mXRTM_uug5OKbQPQs,2684
|
|
354
355
|
castor_extractor/warehouse/databricks/pagination.py,sha256=sM1G0sN1pf1TPpI0Y3Oew378UGEKVkMRc2Mlu9tDjLo,545
|
|
355
|
-
castor_extractor/warehouse/databricks/sql_client.py,sha256=
|
|
356
|
-
castor_extractor/warehouse/databricks/
|
|
357
|
-
castor_extractor/warehouse/databricks/types.py,sha256=-qO5y-uI95B666iDhyNM0TL8WlwYC-3Q4xZuolh3PwE,205
|
|
356
|
+
castor_extractor/warehouse/databricks/sql_client.py,sha256=5isGsRL0MW1lu_E_xTyCvSj_rwaJ2nh-kPlhvTvDy_w,3566
|
|
357
|
+
castor_extractor/warehouse/databricks/types.py,sha256=-TFX4jS6_c3wQLOpJTKpLeGS21YIPjKDjISnzeUPdCc,46
|
|
358
358
|
castor_extractor/warehouse/databricks/utils.py,sha256=5CKn6Me1Tus97H_qDEz_5tkhd4ARmwk2qiC3GndjyCc,1969
|
|
359
359
|
castor_extractor/warehouse/databricks/utils_test.py,sha256=_guTuzRWRTZdDY7ils0X1K8jhI9T877MEtw3x_YDg9I,2415
|
|
360
360
|
castor_extractor/warehouse/mysql/__init__.py,sha256=2KFDogo9GNbApHqw3Vm5t_uNmIRjdp76nmP_WQQMfQY,116
|
|
@@ -436,8 +436,8 @@ castor_extractor/warehouse/sqlserver/queries/table.sql,sha256=kbBQP-TdG5px1IVgyx
|
|
|
436
436
|
castor_extractor/warehouse/sqlserver/queries/user.sql,sha256=gOrZsMVypusR2dc4vwVs4E1a-CliRsr_UjnD2EbXs-A,94
|
|
437
437
|
castor_extractor/warehouse/sqlserver/query.py,sha256=g0hPT-RmeGi2DyenAi3o72cTlQsLToXIFYojqc8E5fQ,533
|
|
438
438
|
castor_extractor/warehouse/synapse/queries/column.sql,sha256=lNcFoIW3Y0PFOqoOzJEXmPvZvfAsY0AP63Mu2LuPzPo,1351
|
|
439
|
-
castor_extractor-0.22.
|
|
440
|
-
castor_extractor-0.22.
|
|
441
|
-
castor_extractor-0.22.
|
|
442
|
-
castor_extractor-0.22.
|
|
443
|
-
castor_extractor-0.22.
|
|
439
|
+
castor_extractor-0.22.6.dist-info/LICENCE,sha256=sL-IGa4hweyya1HgzMskrRdybbIa2cktzxb5qmUgDg8,8254
|
|
440
|
+
castor_extractor-0.22.6.dist-info/METADATA,sha256=CygRIOqL2H1YeiwzeQElCbImi8qEBLfwXyVTqA4m5kE,22437
|
|
441
|
+
castor_extractor-0.22.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
442
|
+
castor_extractor-0.22.6.dist-info/entry_points.txt,sha256=7aVSxc-_2dicp28Ow-S4y0p4wGoTm9zGmVptMvfLdw8,1649
|
|
443
|
+
castor_extractor-0.22.6.dist-info/RECORD,,
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
OLDER_DATE = "2024-04-18 20:20:20.0"
|
|
2
|
-
CLOSER_DATE = "2024-04-19 20:20:20.0"
|
|
3
|
-
|
|
4
|
-
MOCK_TABLES_FOR_TABLE_LINEAGE = [
|
|
5
|
-
{
|
|
6
|
-
"id": "f51ba2ca-8cc3-4de6-8f8b-730359e8f40f",
|
|
7
|
-
"schema_id": "dev.silver",
|
|
8
|
-
"table_name": "analytics",
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"id": "4e140bdc-a67c-4b68-8a07-c684657d8b44",
|
|
12
|
-
"schema_id": "dev.silver",
|
|
13
|
-
"table_name": "pre_analytics",
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"id": "7d403198-55ea-4a40-9995-6ee2f4c79dfa",
|
|
17
|
-
"schema_id": "dev.bronze",
|
|
18
|
-
"table_name": "analytics",
|
|
19
|
-
},
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
_RAW_LINEAGE_DEV_SILVER_ANALYTICS = {
|
|
23
|
-
"upstreams": [
|
|
24
|
-
{ # there could be other keys: jobInfos, notebookInfos, queryInfos
|
|
25
|
-
"tableInfo": {
|
|
26
|
-
"name": "pre_analytics",
|
|
27
|
-
"catalog_name": "dev",
|
|
28
|
-
"schema_name": "silver",
|
|
29
|
-
"table_type": "PERSISTED_VIEW", # not used
|
|
30
|
-
"lineage_timestamp": OLDER_DATE,
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"tableInfo": {
|
|
35
|
-
"name": "analytics",
|
|
36
|
-
"catalog_name": "dev",
|
|
37
|
-
"schema_name": "bronze",
|
|
38
|
-
"table_type": "PERSISTED_VIEW", # not used
|
|
39
|
-
"lineage_timestamp": CLOSER_DATE,
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
"downstreams": [],
|
|
44
|
-
}
|
|
45
|
-
_RAW_LINEAGE_DEV_SILVER_PRE_ANALYTICS = {
|
|
46
|
-
"upstreams": [],
|
|
47
|
-
"downstreams": [
|
|
48
|
-
{
|
|
49
|
-
"tableInfo": {
|
|
50
|
-
"name": "analytics",
|
|
51
|
-
"catalog_name": "dev",
|
|
52
|
-
"schema_name": "silver",
|
|
53
|
-
"table_type": "PERSISTED_VIEW", # not used
|
|
54
|
-
"lineage_timestamp": OLDER_DATE,
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
}
|
|
59
|
-
_RAW_LINEAGE_DEV_BRONZE_ANALYTICS = {
|
|
60
|
-
"upstreams": [],
|
|
61
|
-
"downstreams": [
|
|
62
|
-
{
|
|
63
|
-
"tableInfo": {
|
|
64
|
-
"name": "analytics",
|
|
65
|
-
"catalog_name": "dev",
|
|
66
|
-
"schema_name": "silver",
|
|
67
|
-
"table_type": "PERSISTED_VIEW", # not used
|
|
68
|
-
"lineage_timestamp": OLDER_DATE,
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
# should be in the same order as MOCK_TABLES_FOR_TABLE_LINEAGE
|
|
75
|
-
TABLE_LINEAGE_SIDE_EFFECT: tuple = (
|
|
76
|
-
_RAW_LINEAGE_DEV_SILVER_ANALYTICS,
|
|
77
|
-
_RAW_LINEAGE_DEV_SILVER_PRE_ANALYTICS,
|
|
78
|
-
_RAW_LINEAGE_DEV_BRONZE_ANALYTICS,
|
|
79
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|