DRDataRaft/ docs
GitHub ↗

dr_interrupted()

Identify interrupted runs without changing metadata

Usage

dr_interrupted(lake, older_than_hours = 1)

Arguments

lake
Connected lake.


older_than_hours
Age after which a running job may need investigation.

Value

Runs still marked running. Never auto-cancels a possibly live writer.

Examples

\dontshow{if (requireNamespace("duckdb", quietly = TRUE)) withAutoprint(\{ # examplesIf}
root <- tempfile("dataraft-example-")
config <- dr_lake_config(
  dr_registry_duckdb(file.path(root, "lake.db")),
  dr_storage_local(file.path(root, "data")),
  landing = file.path(root, "landing"), backend = "duckdb"
)
lake <- dataraft.lake::dr_connect_lake(config)
dr_interrupted(lake)
dataraft.lake::dr_disconnect_lake(lake)
unlink(root, recursive = TRUE)
\dontshow{\}) # examplesIf}
Documentation source snapshot · View source at 113c179 ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.