OpenLineage Integration Common
Common modules for OpenLineage integrations.
For setting up a development environment, see the Python development setup guide.
SQL parser defaults
Integrations can pass their active database and schema to qualify unqualified tables and input column origins:
from openlineage.common.sql import parse
metadata = parse(
"INSERT INTO target SELECT id FROM source",
dialect="postgres",
default_schema="public",
default_database="mydb",
)
Explicit SQL qualifiers and dialect-specific USE statements take precedence
over the supplied defaults. Defaults are scoped to each parse call; callers must
provide their current connection context explicitly.
default_database is the third (database) level of a database.schema.table
name. For dialects with only one namespace level above the table, such as MySQL,
Hive, or Spark without a catalog, the parser reads a two-part name x.t as
schema x. For these dialects, pass the connection's database or namespace as
default_schema, not default_database:
# MySQL connection to database "mydb"
parse("INSERT INTO mydb.t SELECT * FROM t", dialect="mysql", default_schema="mydb")
# input and output are both mydb.t
Passing default_database="mydb" instead would name the input mydb.t and the
output mydb.mydb.t.
Metadata
Release files for openlineage-integration-common 1.55.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openlineage_integration_common-1.55.0-py3-none-any.whl | Python 3 | none | any | Details for openlineage_integration_common-1.55.0-py3-none-any.whl |
Release files / openlineage_integration_common-1.55.0-py3-none-any.whl
| Download URL | openlineage_integration_common-1.55.0-py3-none-any.whl |
|---|---|
| Size | 88.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d01614dd3b941fe5812a85c2d04b39e08a28a05fc7a9355603a6a224c75ec305
|
|
BLAKE2b-256 checksum How to use checksums |
83a05d5b3f6521f024f845609e5f8a7eae31297d94c508254bd874ab26b38b8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.22
|
Security for openlineage-integration-common 1.55.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.