DRDataRaft/ docs
GitHub ↗

dr_contract_diff()

Flags schema tightening conservatively. breaking = NA means semantic review is required, for example after changing an R rule or row grain. No compatibility result is inferred by running example data.

Usage

dr_contract_diff(old, new)

Arguments

old, new
Contract specifications.

Value

A tibble with field, before, after and breaking.

Examples

old <- dr_contract("orders", version = "1",
  columns = c(id = "integer"), key = "id")
new <- dr_contract("orders", version = "2",
  columns = c(id = "integer", amount = "numeric"), key = "id")
dr_contract_diff(old, new)
Documentation source snapshot · View source at d9cb454 ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.