Create a generic OpenLineage facet
ol_facet.RdCreates a facet for extensions or facet schemas without a typed constructor.
Names supplied through ... are preserved exactly at the JSON boundary.
Examples
facet <- ol_facet(
"https://example.com/CustomRunFacet.json",
customValue = "example"
)
Run(new_run_id(), facets = list(custom = facet))
#> <openlineage::Run>
#> @ run_id: chr "136572ba-981a-46b7-a810-81f1579dd5b0"
#> @ facets:List of 1
#> .. $ custom: <openlineage::GenericFacet>
#> .. ..@ producer : chr "https://github.com/pedrobtz/openlineage"
#> .. ..@ schema_url: chr "https://example.com/CustomRunFacet.json"
#> .. ..@ deleted : NULL
#> .. ..@ fields :List of 1
#> .. .. .. $ customValue: chr "example"