Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get lineage out of query #1347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ddebowczyk92
Copy link
Contributor

Utilize openlineage-spark feature to extract lineage out of query

@davidrabinowitz
Copy link
Member

/gcbrun

@davidrabinowitz
Copy link
Member

/gcbrun

Copy link
Member

@davidrabinowitz davidrabinowitz left a comment

Choose a reason for hiding this comment

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

Unfortunately both integration tests failed:

[ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 40.04 s <<< FAILURE! -- in com.google.cloud.spark.bigquery.integration.Spark35OpenLineageIntegrationTest
[ERROR] com.google.cloud.spark.bigquery.integration.Spark35OpenLineageIntegrationTest.testLineageEventWithQueryInput -- Time elapsed: 17.75 s <<< FAILURE!
value of         : getFieldName(...)
expected to match: bigquery-public-data.samples.shakespeare
but was          : QUERY.QUERY
	at com.google.cloud.spark.bigquery.integration.OpenLineageIntegrationTestBase.lambda$testLineageEventWithQueryInput$1(OpenLineageIntegrationTestBase.java:149)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at com.google.cloud.spark.bigquery.integration.OpenLineageIntegrationTestBase.testLineageEventWithQueryInput(OpenLineageIntegrationTestBase.java:147)

[ERROR] com.google.cloud.spark.bigquery.integration.Spark35OpenLineageIntegrationTest.testLineageEvent -- Time elapsed: 4.756 s <<< FAILURE!
value of         : getFieldName(...)
expected to match: bigquery-public-data.samples.shakespeare
but was          : QUERY.QUERY
	at com.google.cloud.spark.bigquery.integration.OpenLineageIntegrationTestBase.lambda$testLineageEvent$0(OpenLineageIntegrationTestBase.java:116)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at com.google.cloud.spark.bigquery.integration.OpenLineageIntegrationTestBase.testLineageEvent(OpenLineageIntegrationTestBase.java:114)

Signed-off-by: Dominik Dębowczyk <[email protected]>
@ddebowczyk92
Copy link
Contributor Author

@davidrabinowitz fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants