DRDataRaft/ docs
GitHub ↗

H27 Publish the same product to the lake

H27DuckLake, releases and reports1 step

Use your current course session. Preparation and course runner · R script ↓

H27 Publish the same product to the lake

Goal: Change only the destination.

Prerequisites: H09 and H26.

Reuse the product, contract and recipe. The lake adds managed releases.

training_step(
  "H27",
  {
    lake_product <- prepared_product |>
      dr_set_target(dataraft.lake::dr_target_lake(training_lake))
    lake_first <- dr_publish(lake_product, business_date = "2026-08-31")
    print(lake_first)
    stopifnot(lake_first$status == "published")
  },
  needs = c("H09", "H26"),
  enabled = training_options$lake,
  optional = TRUE
)

Expected result: A published release with a fixed ID.

Task: Which business definition did we rewrite?

Show solution

None. We changed the storage destination.

Search documentation

Search functions, packages and guides.