Skip to content

Commit 9658147

Browse files
Update the facets in BigQuery tests to include catalog facets
Signed-off-by: Pawel Marut <[email protected]>
1 parent 4a5e35d commit 9658147

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

producer/spark_dataproc/scenarios/bigquery_to_iceberg/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
]
222222
},
223223
"openlineage_versions": {
224-
"min": "1.38.0" //???
224+
"min": "1.38.0"
225225
}
226226
}
227227
]

producer/spark_dataproc/scenarios/bigquery_to_iceberg/events/catalog_test.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,16 @@
77
"outputs": [
88
{
99
"namespace": "gs://open-lineage-e2e",
10-
"name": "{{ match(result, 'data/bigquery_metastore/e2e_dataset.*/e2e_table') }}", //"data/bigquery_metastore/e2e_dataset.db/e2e_table" ??
10+
"name": "{{ match(result, 'data/bigquery_metastore/e2e_dataset.*/e2e_table') }}",
1111
"facets": {
1212
"catalog": {
13-
".*producer": "https://github.com/OpenLineage/OpenLineage.*",
14-
".*schemaURL": "https://openlineage.io/spec.*",
1513
"framework": "iceberg",
1614
"type": "bigquerymetastore",
1715
"name": "gcp_iceberg_catalog",
1816
"warehouseUri": "gs://open-lineage-e2e/data/bigquery_metastore/",
1917
"source": "spark",
2018
"catalogProperties": {
21-
"gcp_location": "us-west1", // "{{ any(result) }}" ??
19+
"gcp_location": "us-west1",
2220
"gcp_project_id": "gcp-open-lineage-testing"
2321
}
2422
}

producer/spark_dataproc/scenarios/bigquery_to_iceberg/events/gcp_dataproc_test.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"appName": "BigQuery to Iceberg with BigQueryMetastoreCatalog",
1515
"clusterName": "{{ match(result, 'dataproc-producer-test-.+') }}",
1616
"appId": "{{ match(result, 'application_.+') }}",
17+
"jobType": "dataproc_job",
1718
"projectId": "gcp-open-lineage-testing"
1819
}
1920
}

producer/spark_dataproc/scenarios/bigquery_to_iceberg/events/sql_test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"name": "big_query_to_iceberg_with_big_query_metastore_catalog.append_data.gcp_iceberg_catalog_e2e_dataset_e2e_table",
66
"facets": {
77
"sql": {
8-
"query": "SELECT word, SUM(word_count) AS word_count FROM words GROUP BY word"
8+
"query": "SELECT word, SUM(word_count) AS word_count FROM words GROUP BY word",
9+
"dialect": "spark"
910
}
1011
}
1112
}

0 commit comments

Comments
 (0)