| sql_openlineage | R Documentation |
Produces an OpenLineage-compatible
columnLineage facet plus inferred input/output datasets for a SQL
statement, for integration with data catalogs and lineage backends.
sql_openlineage(
sql,
dialect = "generic",
schema = NULL,
namespace = NULL,
job_name = NULL
)
sql |
A single character string with one or more SQL statements
(separated by |
dialect |
Dialect used for parsing. |
schema |
Optional schema specification (see |
namespace |
Optional dataset namespace applied to inferred datasets. |
job_name |
Optional job name recorded in the facet. |
A list with elements facet (the OpenLineage columnLineage
facet), inputs, outputs (dataset descriptors) and warnings.
ol <- sql_openlineage(
"INSERT INTO reports SELECT id, total FROM sales",
namespace = "warehouse"
)
names(ol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.