fabricks 3.0.5.1__py3-none-any.whl → 3.0.5.2__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.
@@ -288,8 +288,14 @@ def create_or_replace_logs_pivot_view():
288
288
  not done and not failed and not skipped and array_contains(statuses, 'running') as timed_out,
289
289
  not array_contains(statuses, 'running') as cancelled,
290
290
  max(l.notebook_id) as notebook_id,
291
- max(l.timestamp) filter(where l.status = 'running') as start_time,
291
+ max(l.timestamp) filter (where l.status = 'scheduled' ) as scheduled_time,
292
+ max(l.timestamp) filter (where l.status = 'waiting' ) as waiting_time,
293
+ max(l.timestamp) filter (where l.status = 'running') as start_time,
294
+ max(l.timestamp) filter (where l.status = 'running' ) as running_time,
295
+ max(l.timestamp) filter (where l.status = 'done' ) as done_time,
296
+ max(l.timestamp) filter (where l.status = 'failed' ) as failed_time,
292
297
  max(l.timestamp) filter(where l.status = 'ok') as end_time,
298
+ max(l.timestamp) filter(where l.status = 'ok') as ok_time,
293
299
  max(l.exception) as exception
294
300
  from
295
301
  fabricks.logs l
@@ -313,6 +319,12 @@ def create_or_replace_logs_pivot_view():
313
319
  g.notebook_id,
314
320
  g.start_time,
315
321
  g.end_time,
322
+ g.scheduled_time,
323
+ g.waiting_time,
324
+ g.running_time,
325
+ g.done_time,
326
+ g.failed_time,
327
+ g.ok_time,
316
328
  if(g.timed_out, null, date_diff(SECOND, start_time, end_time)) as duration,
317
329
  g.exception
318
330
  from
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricks
3
- Version: 3.0.5.1
3
+ Version: 3.0.5.2
4
4
  Author-email: BMS DWH Team <bi_support@bmsuisse.ch>
5
5
  Requires-Python: <4,>=3.9
6
6
  Requires-Dist: azure-data-tables<13,>=12.5.0
@@ -104,7 +104,7 @@ fabricks/core/dags/utils.py,sha256=17IIza8zaaVkhqCudXUr4GSYXZZCobGB3FLgbS4eAjs,1
104
104
  fabricks/core/deploy/__init__.py,sha256=x-uY3oz82MsyiScuykGf8oDPWYA0b0LTdegB4q219Eo,375
105
105
  fabricks/core/deploy/tables.py,sha256=HPQxdLfggSzL3PTqHnBaJnScXuROK_oko-vqjiXWrn0,2552
106
106
  fabricks/core/deploy/udfs.py,sha256=TBTwMJAuZpsShu_z-Z-LENo3P_eWX69qUkmFuRqv3kU,516
107
- fabricks/core/deploy/views.py,sha256=DAPCF1gijNGVioKUhRH_PS0koAYhoeDgMvBy-UJ6GQc,13756
107
+ fabricks/core/deploy/views.py,sha256=nY2L-yg5fwK40ONjQ_VrOGMrh4eJ6326UDSq3AnGrxA,14340
108
108
  fabricks/core/jobs/__init__.py,sha256=W_1m6LoGiXBml_8cucedju_hllSSnZGKsZjyFh-2oJw,531
109
109
  fabricks/core/jobs/bronze.py,sha256=89nsucGyTGAYPd6pO-MZUmi031P62gp095PTYjSftjg,13514
110
110
  fabricks/core/jobs/get_job.py,sha256=35zay3Z_WoJIylzEQlGle6UvrE1EClfRbFEVGvszof0,3675
@@ -172,6 +172,6 @@ fabricks/utils/schema/get_schema_for_type.py,sha256=u9FFYvWyq9VQdNJNu79-SCN9iGUB
172
172
  fabricks/utils/write/__init__.py,sha256=i0UnZenXj9Aq0b0_aU3s6882vg-Vu_AyKfQhl_dTp-g,200
173
173
  fabricks/utils/write/delta.py,sha256=mpaSxBNcl6N0QheGLx8rjeyWUvy1Yvvj4raGRv7GL5M,1229
174
174
  fabricks/utils/write/stream.py,sha256=wQBpAnQtYA6nl79sPKhVM6u5m-66suX7B6VQ6tW4TOs,622
175
- fabricks-3.0.5.1.dist-info/METADATA,sha256=6gsR4UJcnoz4x2dPwdNT3jYIyEZlpdBqCee0-LsTJJ0,725
176
- fabricks-3.0.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
177
- fabricks-3.0.5.1.dist-info/RECORD,,
175
+ fabricks-3.0.5.2.dist-info/METADATA,sha256=MNN4cMvghY7Xedj3FhM8i4UvBmUyAia3-AaXPzLKqQw,725
176
+ fabricks-3.0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
177
+ fabricks-3.0.5.2.dist-info/RECORD,,