Skip to content

Conversation

@JDarDagran
Copy link
Contributor

This PR adds OpenLineage support for SnowflakeOperator.

depends on: #31398

Copy link
Collaborator

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation changes for the operator should be added for open lineage

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have we tested this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't there specific lineage in case of snowflake - eg. query run time

Copy link
Contributor Author

@JDarDagran JDarDagran Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now I'm trying to reflect what's currently sent from openlineage-airflow package.
I might add some more information but I'd really appreciate what would be useful and available to retrieve.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the other hand - https://docs.snowflake.com/en/sql-reference/account-usage/query_history#usage-notes: latency for QUERY_HISTORY is up to 45 minutes so it looks like it's not sustainable to always get_ query run time

@JDarDagran JDarDagran force-pushed the aip-53-snowflake branch 2 times, most recently from edb89d4 to 3c4844f Compare July 7, 2023 07:02
@JDarDagran
Copy link
Contributor Author

One failing test looking rather flaky.

@pankajkoti pankajkoti removed their request for review July 12, 2023 12:23
Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com>
Signed-off-by: Jakub Dardzinski <kuba0221@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants