External lineage in Snowflake is now generally available
Snowflake now supports OpenLineage events from external tools like dbt and Airflow to track data flows outside the platform.
O que mudou
External lineage extends Snowflake's native lineage to include external data sources and destinations using the OpenLineage standard. Tools like dbt and Apache Airflow send events via a REST endpoint to unify data flow visibility in Snowsight and enable SQL queries.
Use cases
Imagine you need to audit pipelines passing through external systems before reaching Snowflake or flowing strictly between third-party tools.
- Send OpenLineage events to the dedicated Snowflake endpoint.
- Track dependencies between external objects without requiring Snowflake tables.
- Query combined lineage using the GET_LINEAGE function.
How to use
Configure account permissions and send events through the REST API using integrated tools like dbt or Airflow.
CREATE ROLE dbt_lineage_role;
GRANT INGEST LINEAGE ON ACCOUNT TO ROLE dbt_lineage_role;
GRANT ROLE dbt_lineage_role TO USER dbt_integration_user;
What happens in this code:
- Creates a new dedicated role in Snowflake.
- Grants the lineage ingestion privilege to the role.
- Assigns the role to the integration tool's service user.
Limitations and requirements
Requires Enterprise Edition or higher. Sending lineage requires the INGEST LINEAGE privilege on the account, and removing it requires DELETE LINEAGE.
- external lineage
- openlineage
- dbt
- apache airflow
- snowsight
- get_lineage
External lineage (General availability)
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- SnowflakeGA
Geração de documentos em PDF, Word e PowerPoint no Snowflake CoWork
O Snowflake CoWork agora gera arquivos PDF, Word, PowerPoint e HTML diretamente de suas análises usando a ferramenta de execução de código do Cortex Agent.
snowflake cowork · cortex agent - SnowflakePublic Preview
Cortex Agent SDK para Python e TypeScript no Snowflake
O Cortex Agent SDK permite criar aplicações que utilizam Cortex Agents e Cortex Code em Python e TypeScript.
cortex agents · python - SnowflakeAtualização
Mensagens de erro mais detalhadas na classificação de dados sensíveis
A view DATA_CLASSIFICATION_LATEST agora traz mensagens de erro específicas e códigos do Snowflake para falhas na classificação.
data governance · trust center