pipeloom-databricks 0.6.0__tar.gz → 0.7.0__tar.gz

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.
Files changed (61) hide show
  1. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/PKG-INFO +3 -3
  2. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/pyproject.toml +2 -2
  3. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/client/__init__.py +6 -1
  4. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/client/sdk.py +8 -1
  5. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/finalize_states.py +2 -2
  6. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/jobs_model.py +2 -0
  7. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/render.py +2 -0
  8. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/repair.py +6 -1
  9. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/task.py +39 -8
  10. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/testing/fake.py +9 -1
  11. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/by_folder.json +11 -8
  12. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/by_folder.yml +8 -5
  13. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/by_tag.json +14 -10
  14. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/by_tag.yml +10 -6
  15. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/job_cluster.json +19 -14
  16. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/job_cluster.yml +14 -9
  17. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/serverless.json +23 -16
  18. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/serverless.yml +16 -9
  19. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/goldens/submit.json +21 -14
  20. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_finalize_states.py +6 -3
  21. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_repair.py +11 -0
  22. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_sdk_client.py +4 -1
  23. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_task.py +23 -4
  24. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/.gitignore +0 -0
  25. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/LICENSE +0 -0
  26. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/NOTICE +0 -0
  27. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/README.md +0 -0
  28. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/__init__.py +0 -0
  29. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/api.py +0 -0
  30. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/bundle.py +0 -0
  31. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/cli.py +0 -0
  32. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/client/connect.py +0 -0
  33. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/deploy.py +0 -0
  34. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/grouping.py +0 -0
  35. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/keys.py +0 -0
  36. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/options.py +0 -0
  37. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/py.typed +0 -0
  38. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/run.py +0 -0
  39. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/secrets.py +0 -0
  40. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/serialize.py +0 -0
  41. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/spec.py +0 -0
  42. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/task_values.py +0 -0
  43. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/testing/__init__.py +0 -0
  44. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/testing/jobsim.py +0 -0
  45. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/unity.py +0 -0
  46. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/src/pipeloom_databricks/upload.py +0 -0
  47. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/conftest.py +0 -0
  48. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_bundle.py +0 -0
  49. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_connect.py +0 -0
  50. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_deploy.py +0 -0
  51. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_deploy_cli.py +0 -0
  52. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_grouping.py +0 -0
  53. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_jobsim.py +0 -0
  54. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_keys.py +0 -0
  55. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_options.py +0 -0
  56. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_render.py +0 -0
  57. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_run.py +0 -0
  58. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_run_cli.py +0 -0
  59. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_secrets.py +0 -0
  60. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_spec_import.py +0 -0
  61. {pipeloom_databricks-0.6.0 → pipeloom_databricks-0.7.0}/tests/test_unity.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pipeloom-databricks
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: Databricks renderer for pipeloom: a compiled plan as Jobs settings JSON and bundle YAML.
5
5
  Project-URL: Repository, https://github.com/emanuel-luis/pipeloom
6
6
  Project-URL: Documentation, https://emanuel-luis.github.io/pipeloom/
@@ -21,8 +21,8 @@ Classifier: Programming Language :: Python :: 3.14
21
21
  Classifier: Typing :: Typed
22
22
  Requires-Python: >=3.11
23
23
  Requires-Dist: databricks-sdk<1,>=0.50
24
- Requires-Dist: pipeloom-spark~=0.6.0
25
- Requires-Dist: pipeloom~=0.6.0
24
+ Requires-Dist: pipeloom-spark~=0.7.0
25
+ Requires-Dist: pipeloom~=0.7.0
26
26
  Description-Content-Type: text/markdown
27
27
 
28
28
  # pipeloom-databricks
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pipeloom-databricks"
7
- version = "0.6.0"
7
+ version = "0.7.0"
8
8
  description = "Databricks renderer for pipeloom: a compiled plan as Jobs settings JSON and bundle YAML."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.14",
24
24
  "Typing :: Typed",
25
25
  ]
26
- dependencies = ["pipeloom~=0.6.0", "pipeloom-spark~=0.6.0", "databricks-sdk>=0.50,<1"]
26
+ dependencies = ["pipeloom~=0.7.0", "pipeloom-spark~=0.7.0", "databricks-sdk>=0.50,<1"]
27
27
 
28
28
  [project.urls]
29
29
  Repository = "https://github.com/emanuel-luis/pipeloom"
@@ -90,7 +90,12 @@ class DatabricksClient(Protocol):
90
90
  def get_run(self, run_id: int) -> RunInfo: ...
91
91
  def list_runs(self, job_id: int, *, active_only: bool = False) -> Iterator[RunInfo]: ...
92
92
  def repair_run(
93
- self, run_id: int, *, rerun_tasks: Sequence[str], latest_repair_id: int | None
93
+ self,
94
+ run_id: int,
95
+ *,
96
+ rerun_tasks: Sequence[str],
97
+ latest_repair_id: int | None,
98
+ job_parameters: Mapping[str, str] | None = None,
94
99
  ) -> int: ...
95
100
  def current_user(self) -> str: ...
96
101
  def mkdirs(self, path: str) -> None: ...
@@ -220,7 +220,12 @@ class SdkClient:
220
220
  return
221
221
 
222
222
  def repair_run(
223
- self, run_id: int, *, rerun_tasks: Sequence[str], latest_repair_id: int | None
223
+ self,
224
+ run_id: int,
225
+ *,
226
+ rerun_tasks: Sequence[str],
227
+ latest_repair_id: int | None,
228
+ job_parameters: Mapping[str, str] | None = None,
224
229
  ) -> int:
225
230
  body: dict[str, Any] = {
226
231
  "run_id": run_id,
@@ -229,6 +234,8 @@ class SdkClient:
229
234
  }
230
235
  if latest_repair_id is not None:
231
236
  body["latest_repair_id"] = latest_repair_id
237
+ if job_parameters:
238
+ body["job_parameters"] = dict(job_parameters)
232
239
  return int(self._call("POST", f"{JOBS}/runs/repair", body=body)["repair_id"])
233
240
 
234
241
  def current_user(self) -> str:
@@ -24,7 +24,7 @@ def unit_states(
24
24
  ) -> dict[str, ExternalUnitState]:
25
25
  """The external state of every unit that has no attempt file.
26
26
 
27
- `key_map` is unit id -> task key. EXCLUDED is `excluded`; UPSTREAM_FAILED and
27
+ `key_map` is unit id -> task key. EXCLUDED and DISABLED are `excluded`; UPSTREAM_FAILED and
28
28
  UPSTREAM_CANCELED are `skipped` (upstream_failed); CANCELED and TIMEDOUT are `cancelled`; FAILED
29
29
  is `failed` with PLD011 and the termination message. Any other state (success, still running,
30
30
  unknown task) gives no entry, so core finalize counts the unit as not run.
@@ -40,7 +40,7 @@ def unit_states(
40
40
  "databricks_task_run_id": str(task.run_id),
41
41
  }
42
42
  match task.result_state:
43
- case "EXCLUDED":
43
+ case "EXCLUDED" | "DISABLED": # a task outside `only` ends DISABLED on serverless
44
44
  out[unit] = ExternalUnitState("excluded")
45
45
  case "UPSTREAM_FAILED" | "UPSTREAM_CANCELED":
46
46
  out[unit] = ExternalUnitState("skipped", orchestrator_ids=ids)
@@ -66,6 +66,8 @@ class Task:
66
66
  max_retries: int | None
67
67
  min_retry_interval_millis: int | None
68
68
  timeout_seconds: int | None
69
+ disable_auto_optimization: bool | None = None
70
+ """True on serverless: auto-optimization retries a failed task on top of `max_retries`."""
69
71
 
70
72
 
71
73
  @dataclass(frozen=True)
@@ -311,6 +311,7 @@ def _assemble(
311
311
  if all(timeouts)
312
312
  else None
313
313
  ),
314
+ disable_auto_optimization=True if env_key else None,
314
315
  )
315
316
  )
316
317
  waits = {p for u in units for p in u.parents}
@@ -329,6 +330,7 @@ def _assemble(
329
330
  max_retries=1,
330
331
  min_retry_interval_millis=None,
331
332
  timeout_seconds=FINALIZE_TIMEOUT,
333
+ disable_auto_optimization=True if env_key else None,
332
334
  )
333
335
  )
334
336
  return _Parts(opts, units, tuple(tasks), tuple(environments), tuple(clusters))
@@ -61,6 +61,11 @@ def repair(
61
61
  if not rerun:
62
62
  return None
63
63
  return client.repair_run(
64
- job_run_id, rerun_tasks=rerun, latest_repair_id=run.latest_repair_id
64
+ job_run_id,
65
+ rerun_tasks=rerun,
66
+ latest_repair_id=run.latest_repair_id,
67
+ # Without them the repair resolves {{job.parameters.*}} to the defaults, so an empty
68
+ # pipeloom_run_id would become dbx-<job run id> and start a new pipeloom run.
69
+ job_parameters=run.job_parameters,
65
70
  )
66
71
  return None
@@ -230,6 +230,30 @@ def _default_client() -> DatabricksClient:
230
230
  return connect(profile=None, env=os.environ)
231
231
 
232
232
 
233
+ def _run_start(ctx: click.Context, given: Mapping[str, str]) -> str:
234
+ """The start of the job run from the Jobs API, else `--start-ms`.
235
+
236
+ `{{job.start_time.timestamp_ms}}` is the start of the latest repair, not of the run, so a
237
+ repaired task would pass a start the run did not record (PLX108). Best effort: on any client
238
+ error one warning goes to stderr and `--start-ms` is used. A one-time run has no job run id
239
+ and keeps `--start-ms`, which the renderer writes literally.
240
+ """
241
+ fallback = started_at(given["start_ms"])
242
+ job_run_id = given["job_run_id"]
243
+ if not job_run_id:
244
+ return fallback
245
+ factory = ctx.obj.client_factory if isinstance(ctx.obj, _Context) else None
246
+ try:
247
+ start_ms = (factory or _default_client)().get_run(int(job_run_id)).start_time_ms
248
+ except Exception as exc: # noqa: BLE001 - the flag is a usable fallback
249
+ click.echo(
250
+ f"warning: run start not read, using --start-ms: {type(exc).__name__}: {exc}",
251
+ err=True,
252
+ )
253
+ return fallback
254
+ return fallback if start_ms is None else started_at(str(start_ms))
255
+
256
+
233
257
  def _states_file(
234
258
  ctx: click.Context,
235
259
  opts: Mapping[str, str],
@@ -336,7 +360,7 @@ def unit_command(
336
360
  named.update({"unit": unit_id or "", "group": group or ""})
337
361
  check_resolved(named)
338
362
  run_id = resolve_run_id(given["run_id"], given["job_run_id"])
339
- start = started_at(given["start_ms"])
363
+ start = _run_start(ctx, given)
340
364
  refresh = _full_refresh(given["full_refresh"])
341
365
  members = (
342
366
  (unit_id,)
@@ -377,7 +401,7 @@ def finalize_command(ctx: click.Context, /, **given: str) -> None:
377
401
  """
378
402
  check_resolved({k.replace("_", "-"): v for k, v in given.items()})
379
403
  run_id = resolve_run_id(given["run_id"], given["job_run_id"])
380
- start = started_at(given["start_ms"])
404
+ start = _run_start(ctx, given)
381
405
  plan, opts = _deploy(given["manifest"], given["pipeline"])
382
406
  report = Report()
383
407
  units = pipeline_units(plan, opts, given["pipeline"], report)
@@ -409,14 +433,21 @@ def main(
409
433
  task_values: TaskValues | None = None,
410
434
  client_factory: Callable[[], DatabricksClient] | None = None,
411
435
  ) -> None:
412
- """The entry point. `argv` defaults to `sys.argv[1:]`; always ends in `SystemExit`.
436
+ """The entry point. `argv` defaults to `sys.argv[1:]`.
437
+
438
+ Returns on success and raises `SystemExit` with a non-zero code on failure. Serverless runs
439
+ the wheel entry point under IPython, which reports even `SystemExit(0)` as a failed task.
413
440
 
414
441
  `task_values` replaces the platform's task values and `client_factory` the connection that
415
442
  finalize reads task states through (a test passes a recorder and a fake client).
416
443
  """
417
444
  given = task_values is not None or client_factory is not None
418
- cli.main(
419
- args=None if argv is None else list(argv),
420
- prog_name="pipeloom_databricks_task",
421
- obj=_Context(task_values, client_factory) if given else None,
422
- )
445
+ try:
446
+ cli.main(
447
+ args=None if argv is None else list(argv),
448
+ prog_name="pipeloom_databricks_task",
449
+ obj=_Context(task_values, client_factory) if given else None,
450
+ )
451
+ except SystemExit as stop:
452
+ if stop.code not in (None, 0):
453
+ raise
@@ -38,6 +38,8 @@ class FakeDatabricks:
38
38
  self.runs: dict[int, RunInfo] = {}
39
39
  self.run_tokens: dict[str, int] = {}
40
40
  self.repairs: list[tuple[int, tuple[str, ...], int | None]] = []
41
+ self.repair_parameters: list[dict[str, str]] = []
42
+ """The job parameters each repair passed, in order."""
41
43
  self.starts: list[tuple[int, dict[str, str], tuple[str, ...] | None, str | None]] = []
42
44
  """Every `run_now`: (job_id, job_parameters, only, idempotency_token)."""
43
45
  self.submissions: list[tuple[dict[str, JsonValue], str | None]] = []
@@ -177,7 +179,12 @@ class FakeDatabricks:
177
179
  yield run
178
180
 
179
181
  def repair_run(
180
- self, run_id: int, *, rerun_tasks: Sequence[str], latest_repair_id: int | None
182
+ self,
183
+ run_id: int,
184
+ *,
185
+ rerun_tasks: Sequence[str],
186
+ latest_repair_id: int | None,
187
+ job_parameters: Mapping[str, str] | None = None,
181
188
  ) -> int:
182
189
  self._enter("repair_run", run_id)
183
190
  if run_id not in self.runs:
@@ -188,6 +195,7 @@ class FakeDatabricks:
188
195
  )
189
196
  repair_id = self._id()
190
197
  self.repairs.append((run_id, tuple(rerun_tasks), latest_repair_id))
198
+ self.repair_parameters.append(dict(job_parameters or {}))
191
199
  if self.stale_polls:
192
200
  before = replace(self.runs[run_id], latest_repair_id=repair_id)
193
201
  self._stale[run_id] = (before, self.stale_polls)
@@ -2,8 +2,8 @@
2
2
  "name": "pipeloom_shop_main_ci",
3
3
  "tags": {
4
4
  "pipeloom_job": "shop.main.ci",
5
- "pipeloom_plan_hash": "a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
6
- "pipeloom_settings_hash": "2623a393d369b3c3f076850239bf729fe127d726ec0f30ade67894b47e4472d8",
5
+ "pipeloom_plan_hash": "7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
6
+ "pipeloom_settings_hash": "034545979226d2fbe052e6ebcc88b29b35a46a8544664e4b54e677f6b904d886",
7
7
  "pipeloom_version": "1.2.3"
8
8
  },
9
9
  "parameters": [
@@ -51,7 +51,7 @@
51
51
  "--target=ci",
52
52
  "--pipeline=main",
53
53
  "--group=dir_models_marts",
54
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
54
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
55
55
  "--run-id={{job.parameters.pipeloom_run_id}}",
56
56
  "--full-refresh={{job.parameters.full_refresh}}",
57
57
  "--job-id={{job.id}}",
@@ -61,7 +61,8 @@
61
61
  "--start-ms={{job.start_time.timestamp_ms}}"
62
62
  ]
63
63
  },
64
- "max_retries": 0
64
+ "max_retries": 0,
65
+ "disable_auto_optimization": true
65
66
  },
66
67
  {
67
68
  "task_key": "dir_models_staging",
@@ -76,7 +77,7 @@
76
77
  "--target=ci",
77
78
  "--pipeline=main",
78
79
  "--group=dir_models_staging",
79
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
80
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
80
81
  "--run-id={{job.parameters.pipeloom_run_id}}",
81
82
  "--full-refresh={{job.parameters.full_refresh}}",
82
83
  "--job-id={{job.id}}",
@@ -86,7 +87,8 @@
86
87
  "--start-ms={{job.start_time.timestamp_ms}}"
87
88
  ]
88
89
  },
89
- "max_retries": 0
90
+ "max_retries": 0,
91
+ "disable_auto_optimization": true
90
92
  },
91
93
  {
92
94
  "task_key": "pipeloom__finalize",
@@ -106,7 +108,7 @@
106
108
  "--manifest=/Workspace/pipeloom/shop/manifest.json",
107
109
  "--target=ci",
108
110
  "--pipeline=main",
109
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
111
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
110
112
  "--run-id={{job.parameters.pipeloom_run_id}}",
111
113
  "--full-refresh={{job.parameters.full_refresh}}",
112
114
  "--job-id={{job.id}}",
@@ -115,7 +117,8 @@
115
117
  ]
116
118
  },
117
119
  "max_retries": 1,
118
- "timeout_seconds": 1800
120
+ "timeout_seconds": 1800,
121
+ "disable_auto_optimization": true
119
122
  }
120
123
  ]
121
124
  }
@@ -5,8 +5,8 @@ resources:
5
5
  name: pipeloom_shop_main_ci
6
6
  tags:
7
7
  pipeloom_job: shop.main.ci
8
- pipeloom_plan_hash: a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
9
- pipeloom_settings_hash: 2623a393d369b3c3f076850239bf729fe127d726ec0f30ade67894b47e4472d8
8
+ pipeloom_plan_hash: 7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
9
+ pipeloom_settings_hash: 034545979226d2fbe052e6ebcc88b29b35a46a8544664e4b54e677f6b904d886
10
10
  pipeloom_version: 1.2.3
11
11
  parameters:
12
12
  - name: pipeloom_run_id
@@ -38,7 +38,7 @@ resources:
38
38
  - --target=ci
39
39
  - --pipeline=main
40
40
  - --group=dir_models_marts
41
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
41
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
42
42
  - --run-id={{job.parameters.pipeloom_run_id}}
43
43
  - --full-refresh={{job.parameters.full_refresh}}
44
44
  - --job-id={{job.id}}
@@ -47,6 +47,7 @@ resources:
47
47
  - --task-run-id={{task.run_id}}
48
48
  - --start-ms={{job.start_time.timestamp_ms}}
49
49
  max_retries: 0
50
+ disable_auto_optimization: true
50
51
  - task_key: dir_models_staging
51
52
  environment_key: pipeloom_default
52
53
  python_wheel_task:
@@ -59,7 +60,7 @@ resources:
59
60
  - --target=ci
60
61
  - --pipeline=main
61
62
  - --group=dir_models_staging
62
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
63
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
63
64
  - --run-id={{job.parameters.pipeloom_run_id}}
64
65
  - --full-refresh={{job.parameters.full_refresh}}
65
66
  - --job-id={{job.id}}
@@ -68,6 +69,7 @@ resources:
68
69
  - --task-run-id={{task.run_id}}
69
70
  - --start-ms={{job.start_time.timestamp_ms}}
70
71
  max_retries: 0
72
+ disable_auto_optimization: true
71
73
  - task_key: pipeloom__finalize
72
74
  depends_on:
73
75
  - task_key: dir_models_marts
@@ -82,7 +84,7 @@ resources:
82
84
  - --manifest=/Workspace/pipeloom/shop/manifest.json
83
85
  - --target=ci
84
86
  - --pipeline=main
85
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
87
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
86
88
  - --run-id={{job.parameters.pipeloom_run_id}}
87
89
  - --full-refresh={{job.parameters.full_refresh}}
88
90
  - --job-id={{job.id}}
@@ -90,3 +92,4 @@ resources:
90
92
  - --start-ms={{job.start_time.timestamp_ms}}
91
93
  max_retries: 1
92
94
  timeout_seconds: 1800
95
+ disable_auto_optimization: true
@@ -2,8 +2,8 @@
2
2
  "name": "pipeloom_shop_main_ci",
3
3
  "tags": {
4
4
  "pipeloom_job": "shop.main.ci",
5
- "pipeloom_plan_hash": "a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
6
- "pipeloom_settings_hash": "f5a10d5fdb1f1d09c10bca06580b2babc243f86e5fc10dfab550d58de85f5b6e",
5
+ "pipeloom_plan_hash": "7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
6
+ "pipeloom_settings_hash": "053a5541698f44fcf8cc84c9779beb450cc97bb325b8e217071acb27779ed4c1",
7
7
  "pipeloom_version": "1.2.3"
8
8
  },
9
9
  "parameters": [
@@ -51,7 +51,7 @@
51
51
  "--target=ci",
52
52
  "--pipeline=main",
53
53
  "--group=tag_mart",
54
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
54
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
55
55
  "--run-id={{job.parameters.pipeloom_run_id}}",
56
56
  "--full-refresh={{job.parameters.full_refresh}}",
57
57
  "--job-id={{job.id}}",
@@ -61,7 +61,8 @@
61
61
  "--start-ms={{job.start_time.timestamp_ms}}"
62
62
  ]
63
63
  },
64
- "max_retries": 0
64
+ "max_retries": 0,
65
+ "disable_auto_optimization": true
65
66
  },
66
67
  {
67
68
  "task_key": "tag_staging",
@@ -76,7 +77,7 @@
76
77
  "--target=ci",
77
78
  "--pipeline=main",
78
79
  "--group=tag_staging",
79
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
80
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
80
81
  "--run-id={{job.parameters.pipeloom_run_id}}",
81
82
  "--full-refresh={{job.parameters.full_refresh}}",
82
83
  "--job-id={{job.id}}",
@@ -86,7 +87,8 @@
86
87
  "--start-ms={{job.start_time.timestamp_ms}}"
87
88
  ]
88
89
  },
89
- "max_retries": 0
90
+ "max_retries": 0,
91
+ "disable_auto_optimization": true
90
92
  },
91
93
  {
92
94
  "task_key": "tag_untagged",
@@ -106,7 +108,7 @@
106
108
  "--target=ci",
107
109
  "--pipeline=main",
108
110
  "--group=tag_untagged",
109
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
111
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
110
112
  "--run-id={{job.parameters.pipeloom_run_id}}",
111
113
  "--full-refresh={{job.parameters.full_refresh}}",
112
114
  "--job-id={{job.id}}",
@@ -116,7 +118,8 @@
116
118
  "--start-ms={{job.start_time.timestamp_ms}}"
117
119
  ]
118
120
  },
119
- "max_retries": 0
121
+ "max_retries": 0,
122
+ "disable_auto_optimization": true
120
123
  },
121
124
  {
122
125
  "task_key": "pipeloom__finalize",
@@ -136,7 +139,7 @@
136
139
  "--manifest=/Workspace/pipeloom/shop/manifest.json",
137
140
  "--target=ci",
138
141
  "--pipeline=main",
139
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
142
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
140
143
  "--run-id={{job.parameters.pipeloom_run_id}}",
141
144
  "--full-refresh={{job.parameters.full_refresh}}",
142
145
  "--job-id={{job.id}}",
@@ -145,7 +148,8 @@
145
148
  ]
146
149
  },
147
150
  "max_retries": 1,
148
- "timeout_seconds": 1800
151
+ "timeout_seconds": 1800,
152
+ "disable_auto_optimization": true
149
153
  }
150
154
  ]
151
155
  }
@@ -5,8 +5,8 @@ resources:
5
5
  name: pipeloom_shop_main_ci
6
6
  tags:
7
7
  pipeloom_job: shop.main.ci
8
- pipeloom_plan_hash: a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
9
- pipeloom_settings_hash: f5a10d5fdb1f1d09c10bca06580b2babc243f86e5fc10dfab550d58de85f5b6e
8
+ pipeloom_plan_hash: 7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
9
+ pipeloom_settings_hash: 053a5541698f44fcf8cc84c9779beb450cc97bb325b8e217071acb27779ed4c1
10
10
  pipeloom_version: 1.2.3
11
11
  parameters:
12
12
  - name: pipeloom_run_id
@@ -38,7 +38,7 @@ resources:
38
38
  - --target=ci
39
39
  - --pipeline=main
40
40
  - --group=tag_mart
41
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
41
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
42
42
  - --run-id={{job.parameters.pipeloom_run_id}}
43
43
  - --full-refresh={{job.parameters.full_refresh}}
44
44
  - --job-id={{job.id}}
@@ -47,6 +47,7 @@ resources:
47
47
  - --task-run-id={{task.run_id}}
48
48
  - --start-ms={{job.start_time.timestamp_ms}}
49
49
  max_retries: 0
50
+ disable_auto_optimization: true
50
51
  - task_key: tag_staging
51
52
  environment_key: pipeloom_default
52
53
  python_wheel_task:
@@ -59,7 +60,7 @@ resources:
59
60
  - --target=ci
60
61
  - --pipeline=main
61
62
  - --group=tag_staging
62
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
63
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
63
64
  - --run-id={{job.parameters.pipeloom_run_id}}
64
65
  - --full-refresh={{job.parameters.full_refresh}}
65
66
  - --job-id={{job.id}}
@@ -68,6 +69,7 @@ resources:
68
69
  - --task-run-id={{task.run_id}}
69
70
  - --start-ms={{job.start_time.timestamp_ms}}
70
71
  max_retries: 0
72
+ disable_auto_optimization: true
71
73
  - task_key: tag_untagged
72
74
  depends_on:
73
75
  - task_key: tag_mart
@@ -82,7 +84,7 @@ resources:
82
84
  - --target=ci
83
85
  - --pipeline=main
84
86
  - --group=tag_untagged
85
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
87
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
86
88
  - --run-id={{job.parameters.pipeloom_run_id}}
87
89
  - --full-refresh={{job.parameters.full_refresh}}
88
90
  - --job-id={{job.id}}
@@ -91,6 +93,7 @@ resources:
91
93
  - --task-run-id={{task.run_id}}
92
94
  - --start-ms={{job.start_time.timestamp_ms}}
93
95
  max_retries: 0
96
+ disable_auto_optimization: true
94
97
  - task_key: pipeloom__finalize
95
98
  depends_on:
96
99
  - task_key: tag_untagged
@@ -105,7 +108,7 @@ resources:
105
108
  - --manifest=/Workspace/pipeloom/shop/manifest.json
106
109
  - --target=ci
107
110
  - --pipeline=main
108
- - --plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac
111
+ - --plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6
109
112
  - --run-id={{job.parameters.pipeloom_run_id}}
110
113
  - --full-refresh={{job.parameters.full_refresh}}
111
114
  - --job-id={{job.id}}
@@ -113,3 +116,4 @@ resources:
113
116
  - --start-ms={{job.start_time.timestamp_ms}}
114
117
  max_retries: 1
115
118
  timeout_seconds: 1800
119
+ disable_auto_optimization: true
@@ -2,8 +2,8 @@
2
2
  "name": "pipeloom_shop_main_ci",
3
3
  "tags": {
4
4
  "pipeloom_job": "shop.main.ci",
5
- "pipeloom_plan_hash": "a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
6
- "pipeloom_settings_hash": "1e3fd002d6840fe1e17c7a502df544df71c74646b059dac268984f2d6b82dce0",
5
+ "pipeloom_plan_hash": "7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
6
+ "pipeloom_settings_hash": "c0c07f36da1b57afbfdc75c8c7cabafe6f891d56301cc39f1c7532d013b5f4e5",
7
7
  "pipeloom_version": "1.2.3",
8
8
  "team": "data"
9
9
  },
@@ -77,7 +77,7 @@
77
77
  "--target=ci",
78
78
  "--pipeline=main",
79
79
  "--unit=dim_customers",
80
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
80
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
81
81
  "--run-id={{job.parameters.pipeloom_run_id}}",
82
82
  "--full-refresh={{job.parameters.full_refresh}}",
83
83
  "--job-id={{job.id}}",
@@ -125,7 +125,7 @@
125
125
  "--target=ci",
126
126
  "--pipeline=main",
127
127
  "--unit=fct_orders",
128
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
128
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
129
129
  "--run-id={{job.parameters.pipeloom_run_id}}",
130
130
  "--full-refresh={{job.parameters.full_refresh}}",
131
131
  "--job-id={{job.id}}",
@@ -155,7 +155,7 @@
155
155
  "--target=ci",
156
156
  "--pipeline=main",
157
157
  "--unit=rpt_revenue",
158
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
158
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
159
159
  "--run-id={{job.parameters.pipeloom_run_id}}",
160
160
  "--full-refresh={{job.parameters.full_refresh}}",
161
161
  "--job-id={{job.id}}",
@@ -165,7 +165,8 @@
165
165
  "--start-ms={{job.start_time.timestamp_ms}}"
166
166
  ]
167
167
  },
168
- "max_retries": 0
168
+ "max_retries": 0,
169
+ "disable_auto_optimization": true
169
170
  },
170
171
  {
171
172
  "task_key": "stg_customers",
@@ -180,7 +181,7 @@
180
181
  "--target=ci",
181
182
  "--pipeline=main",
182
183
  "--unit=stg_customers",
183
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
184
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
184
185
  "--run-id={{job.parameters.pipeloom_run_id}}",
185
186
  "--full-refresh={{job.parameters.full_refresh}}",
186
187
  "--job-id={{job.id}}",
@@ -190,7 +191,8 @@
190
191
  "--start-ms={{job.start_time.timestamp_ms}}"
191
192
  ]
192
193
  },
193
- "max_retries": 0
194
+ "max_retries": 0,
195
+ "disable_auto_optimization": true
194
196
  },
195
197
  {
196
198
  "task_key": "stg_orders",
@@ -205,7 +207,7 @@
205
207
  "--target=ci",
206
208
  "--pipeline=main",
207
209
  "--unit=stg_orders",
208
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
210
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
209
211
  "--run-id={{job.parameters.pipeloom_run_id}}",
210
212
  "--full-refresh={{job.parameters.full_refresh}}",
211
213
  "--job-id={{job.id}}",
@@ -215,7 +217,8 @@
215
217
  "--start-ms={{job.start_time.timestamp_ms}}"
216
218
  ]
217
219
  },
218
- "max_retries": 0
220
+ "max_retries": 0,
221
+ "disable_auto_optimization": true
219
222
  },
220
223
  {
221
224
  "task_key": "stg_payments",
@@ -230,7 +233,7 @@
230
233
  "--target=ci",
231
234
  "--pipeline=main",
232
235
  "--unit=stg_payments",
233
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
236
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
234
237
  "--run-id={{job.parameters.pipeloom_run_id}}",
235
238
  "--full-refresh={{job.parameters.full_refresh}}",
236
239
  "--job-id={{job.id}}",
@@ -240,7 +243,8 @@
240
243
  "--start-ms={{job.start_time.timestamp_ms}}"
241
244
  ]
242
245
  },
243
- "max_retries": 0
246
+ "max_retries": 0,
247
+ "disable_auto_optimization": true
244
248
  },
245
249
  {
246
250
  "task_key": "pipeloom__finalize",
@@ -263,7 +267,7 @@
263
267
  "--manifest=/Workspace/pipeloom/shop/manifest.json",
264
268
  "--target=ci",
265
269
  "--pipeline=main",
266
- "--plan-hash=a2501b77df2ad29619b953019adbd873b9cbe132e6d1b5b2a52f0da6a45ecbac",
270
+ "--plan-hash=7258536b510075fdb1649be695bf3e6ba2b43226a1e3cbf08dff4e034820e1e6",
267
271
  "--run-id={{job.parameters.pipeloom_run_id}}",
268
272
  "--full-refresh={{job.parameters.full_refresh}}",
269
273
  "--job-id={{job.id}}",
@@ -272,7 +276,8 @@
272
276
  ]
273
277
  },
274
278
  "max_retries": 1,
275
- "timeout_seconds": 1800
279
+ "timeout_seconds": 1800,
280
+ "disable_auto_optimization": true
276
281
  }
277
282
  ],
278
283
  "schedule": {