|
23 | 23 | }
|
24 | 24 | }
|
25 | 25 | },
|
| 26 | +{ |
| 27 | + "entityType": "dataFlow", |
| 28 | + "entityUrn": "urn:li:dataFlow:(airflow,snowflake_operator,prod)", |
| 29 | + "changeType": "UPSERT", |
| 30 | + "aspectName": "status", |
| 31 | + "aspect": { |
| 32 | + "json": { |
| 33 | + "removed": false |
| 34 | + } |
| 35 | + } |
| 36 | +}, |
26 | 37 | {
|
27 | 38 | "entityType": "dataFlow",
|
28 | 39 | "entityUrn": "urn:li:dataFlow:(airflow,snowflake_operator,prod)",
|
|
115 | 126 | "downstream_task_ids": "[]",
|
116 | 127 | "inlets": "[]",
|
117 | 128 | "outlets": "[]",
|
118 |
| - "openlineage_job_facet_sql": "{\"_producer\": \"https://github.com/OpenLineage/OpenLineage/tree/1.18.0/integration/airflow\", \"_schemaURL\": \"https://raw.githubusercontent.com/OpenLineage/OpenLineage/main/spec/OpenLineage.json#/definitions/SqlJobFacet\", \"query\": \"\\n CREATE OR REPLACE TABLE processed_costs AS\\n SELECT\\n id,\\n month,\\n total_cost,\\n area,\\n total_cost / area as cost_per_area\\n FROM costs\\n \"}" |
| 129 | + "openlineage_job_facet_sql": "{\"_producer\": \"https://github.com/OpenLineage/OpenLineage/tree/1.25.0/integration/airflow\", \"_schemaURL\": \"https://raw.githubusercontent.com/OpenLineage/OpenLineage/main/spec/OpenLineage.json#/definitions/SqlJobFacet\", \"query\": \"\\n CREATE OR REPLACE TABLE processed_costs AS\\n SELECT\\n id,\\n month,\\n total_cost,\\n area,\\n total_cost / area as cost_per_area\\n FROM costs\\n \"}" |
119 | 130 | },
|
120 | 131 | "externalUrl": "http://airflow.example.com/taskinstance/list/?flt1_dag_id_equals=snowflake_operator&_flt_3_task_id=transform_cost_table",
|
121 | 132 | "name": "transform_cost_table",
|
|
126 | 137 | }
|
127 | 138 | }
|
128 | 139 | },
|
| 140 | +{ |
| 141 | + "entityType": "dataJob", |
| 142 | + "entityUrn": "urn:li:dataJob:(urn:li:dataFlow:(airflow,snowflake_operator,prod),transform_cost_table)", |
| 143 | + "changeType": "UPSERT", |
| 144 | + "aspectName": "status", |
| 145 | + "aspect": { |
| 146 | + "json": { |
| 147 | + "removed": false |
| 148 | + } |
| 149 | + } |
| 150 | +}, |
129 | 151 | {
|
130 | 152 | "entityType": "dataJob",
|
131 | 153 | "entityUrn": "urn:li:dataJob:(urn:li:dataFlow:(airflow,snowflake_operator,prod),transform_cost_table)",
|
|
281 | 303 | "state": "running",
|
282 | 304 | "operator": "SnowflakeOperator",
|
283 | 305 | "priority_weight": "1",
|
284 |
| - "log_url": "http://airflow.example.com/dags/snowflake_operator/grid?dag_run_id=manual_run_test&task_id=transform_cost_table&map_index=-1&tab=logs", |
| 306 | + "log_url": "http://airflow.example.com/dags/snowflake_operator/grid?dag_run_id=manual_run_test&task_id=transform_cost_table&base_date=2023-09-27T21%3A34%3A38%2B0000&tab=logs", |
285 | 307 | "orchestrator": "airflow",
|
286 | 308 | "dag_id": "snowflake_operator",
|
287 | 309 | "task_id": "transform_cost_table"
|
288 | 310 | },
|
289 |
| - "externalUrl": "http://airflow.example.com/dags/snowflake_operator/grid?dag_run_id=manual_run_test&task_id=transform_cost_table&map_index=-1&tab=logs", |
| 311 | + "externalUrl": "http://airflow.example.com/dags/snowflake_operator/grid?dag_run_id=manual_run_test&task_id=transform_cost_table&base_date=2023-09-27T21%3A34%3A38%2B0000&tab=logs", |
290 | 312 | "name": "snowflake_operator_transform_cost_table_manual_run_test",
|
291 | 313 | "type": "BATCH_AD_HOC",
|
292 | 314 | "created": {
|
293 |
| - "time": 1718733682840, |
| 315 | + "time": 1737519137480, |
294 | 316 | "actor": "urn:li:corpuser:datahub"
|
295 | 317 | }
|
296 | 318 | }
|
|
308 | 330 | }
|
309 | 331 | }
|
310 | 332 | },
|
| 333 | +{ |
| 334 | + "entityType": "dataProcessInstance", |
| 335 | + "entityUrn": "urn:li:dataProcessInstance:3161034cc84e16a7c5e1906225734747", |
| 336 | + "changeType": "UPSERT", |
| 337 | + "aspectName": "dataPlatformInstance", |
| 338 | + "aspect": { |
| 339 | + "json": { |
| 340 | + "platform": "urn:li:dataPlatform:airflow", |
| 341 | + "instance": "urn:li:dataPlatformInstance:(urn:li:dataPlatform:airflow,prod)" |
| 342 | + } |
| 343 | + } |
| 344 | +}, |
311 | 345 | {
|
312 | 346 | "entityType": "dataProcessInstance",
|
313 | 347 | "entityUrn": "urn:li:dataProcessInstance:3161034cc84e16a7c5e1906225734747",
|
|
367 | 401 | "aspectName": "dataProcessInstanceRunEvent",
|
368 | 402 | "aspect": {
|
369 | 403 | "json": {
|
370 |
| - "timestampMillis": 1717179684292, |
| 404 | + "timestampMillis": 1737519137480, |
371 | 405 | "partitionSpec": {
|
372 | 406 | "partition": "FULL_TABLE_SNAPSHOT",
|
373 | 407 | "type": "FULL_TABLE"
|
|
384 | 418 | "aspectName": "operation",
|
385 | 419 | "aspect": {
|
386 | 420 | "json": {
|
387 |
| - "timestampMillis": 1717179684935, |
| 421 | + "timestampMillis": 1737519138203, |
388 | 422 | "partitionSpec": {
|
389 | 423 | "partition": "FULL_TABLE_SNAPSHOT",
|
390 | 424 | "type": "FULL_TABLE"
|
391 | 425 | },
|
392 | 426 | "actor": "urn:li:corpuser:airflow",
|
393 | 427 | "operationType": "CREATE",
|
394 |
| - "lastUpdatedTimestamp": 1717179684935 |
| 428 | + "lastUpdatedTimestamp": 1737519138203 |
| 429 | + } |
| 430 | + } |
| 431 | +}, |
| 432 | +{ |
| 433 | + "entityType": "dataJob", |
| 434 | + "entityUrn": "urn:li:dataJob:(urn:li:dataFlow:(airflow,snowflake_operator,prod),transform_cost_table)", |
| 435 | + "changeType": "UPSERT", |
| 436 | + "aspectName": "dataJobInfo", |
| 437 | + "aspect": { |
| 438 | + "json": { |
| 439 | + "customProperties": { |
| 440 | + "depends_on_past": "False", |
| 441 | + "email": "None", |
| 442 | + "label": "'transform_cost_table'", |
| 443 | + "execution_timeout": "None", |
| 444 | + "sla": "None", |
| 445 | + "sql": "'\\n CREATE OR REPLACE TABLE processed_costs AS\\n SELECT\\n id,\\n month,\\n total_cost,\\n area,\\n total_cost / area as cost_per_area\\n FROM costs\\n '", |
| 446 | + "task_id": "'transform_cost_table'", |
| 447 | + "trigger_rule": "<TriggerRule.ALL_SUCCESS: 'all_success'>", |
| 448 | + "wait_for_downstream": "False", |
| 449 | + "downstream_task_ids": "[]", |
| 450 | + "inlets": "[]", |
| 451 | + "outlets": "[]", |
| 452 | + "openlineage_job_facet_sql": "{\"_producer\": \"https://github.com/OpenLineage/OpenLineage/tree/1.25.0/integration/airflow\", \"_schemaURL\": \"https://raw.githubusercontent.com/OpenLineage/OpenLineage/main/spec/OpenLineage.json#/definitions/SqlJobFacet\", \"query\": \"\\n CREATE OR REPLACE TABLE processed_costs AS\\n SELECT\\n id,\\n month,\\n total_cost,\\n area,\\n total_cost / area as cost_per_area\\n FROM costs\\n \"}" |
| 453 | + }, |
| 454 | + "externalUrl": "http://airflow.example.com/taskinstance/list/?flt1_dag_id_equals=snowflake_operator&_flt_3_task_id=transform_cost_table", |
| 455 | + "name": "transform_cost_table", |
| 456 | + "type": { |
| 457 | + "string": "COMMAND" |
| 458 | + }, |
| 459 | + "env": "PROD" |
| 460 | + } |
| 461 | + } |
| 462 | +}, |
| 463 | +{ |
| 464 | + "entityType": "dataJob", |
| 465 | + "entityUrn": "urn:li:dataJob:(urn:li:dataFlow:(airflow,snowflake_operator,prod),transform_cost_table)", |
| 466 | + "changeType": "UPSERT", |
| 467 | + "aspectName": "status", |
| 468 | + "aspect": { |
| 469 | + "json": { |
| 470 | + "removed": false |
395 | 471 | }
|
396 | 472 | }
|
397 | 473 | },
|
|
538 | 614 | "aspectName": "dataProcessInstanceRunEvent",
|
539 | 615 | "aspect": {
|
540 | 616 | "json": {
|
541 |
| - "timestampMillis": 1717179685374, |
| 617 | + "timestampMillis": 1737519138302, |
542 | 618 | "partitionSpec": {
|
543 | 619 | "partition": "FULL_TABLE_SNAPSHOT",
|
544 | 620 | "type": "FULL_TABLE"
|
|
0 commit comments