|
| 1 | +{ |
| 2 | + "metadata": { |
| 3 | + "dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v5.json", |
| 4 | + "dbt_version": "1.7.0", |
| 5 | + "generated_at": "2023-11-03T18:58:01.711121Z", |
| 6 | + "invocation_id": "13fd3e9b-66fd-4dee-bb27-b6acd818c747", |
| 7 | + "env": {} |
| 8 | + }, |
| 9 | + "results": [ |
| 10 | + { |
| 11 | + "status": "success", |
| 12 | + "timing": [ |
| 13 | + { |
| 14 | + "name": "compile", |
| 15 | + "started_at": "2023-11-03T18:57:54.451415Z", |
| 16 | + "completed_at": "2023-11-03T18:57:54.455521Z" |
| 17 | + }, |
| 18 | + { |
| 19 | + "name": "execute", |
| 20 | + "started_at": "2023-11-03T18:57:54.456321Z", |
| 21 | + "completed_at": "2023-11-03T18:57:56.603978Z" |
| 22 | + } |
| 23 | + ], |
| 24 | + "thread_id": "Thread-4", |
| 25 | + "execution_time": 2.2710530757904053, |
| 26 | + "adapter_response": { |
| 27 | + "_message": "SUCCESS 1", |
| 28 | + "code": "SUCCESS", |
| 29 | + "rows_affected": 1, |
| 30 | + "query_id": "01b01671-0903-c114-0008-fb8312780ad2" |
| 31 | + }, |
| 32 | + "message": "SUCCESS 1", |
| 33 | + "failures": null, |
| 34 | + "unique_id": "model.demo.customers", |
| 35 | + "compiled": true, |
| 36 | + "compiled_code": "with customers as (\n\n select * from DEV.development_sung.stg_customers\n\n),\n\norders as (\n\n select * from DEV.development_sung.stg_orders\n\n),\n\npayments as (\n\n select * from DEV.development_sung.stg_payments\n\n),\n\ncustomer_orders as (\n\n select\n customer_id,\n\n min(order_date) as first_order,\n max(order_date) as most_recent_order,\n count(order_id) as number_of_orders\n from orders\n\n group by customer_id\n\n),\n\ncustomer_payments as (\n\n select\n orders.customer_id,\n sum(amount) as total_amount\n\n from payments\n\n left join orders on\n payments.order_id = orders.order_id\n\n group by orders.customer_id\n\n),\n\nfinal as (\n\n select\n customers.customer_id,\n customers.first_name as changed_names,\n customers.last_name,\n customer_orders.first_order,\n customer_orders.most_recent_order,\n customer_orders.number_of_orders,\n customer_payments.total_amount as customer_lifetime_value\n\n from customers\n\n left join customer_orders\n on customers.customer_id = customer_orders.customer_id\n\n left join customer_payments\n on customers.customer_id = customer_payments.customer_id\n\n)\n\nselect * from final", |
| 37 | + "relation_name": "DEV.development_sung.customers" |
| 38 | + } |
| 39 | + ], |
| 40 | + "elapsed_time": 9.092561960220337, |
| 41 | + "args": { |
| 42 | + "version_check": true, |
| 43 | + "printer_width": 80, |
| 44 | + "project_dir": "/Users/sung/Desktop/data-diff/datafold-demo-sung", |
| 45 | + "quiet": false, |
| 46 | + "send_anonymous_usage_stats": true, |
| 47 | + "introspect": true, |
| 48 | + "exclude": [], |
| 49 | + "log_file_max_bytes": 10485760, |
| 50 | + "strict_mode": false, |
| 51 | + "warn_error_options": { "include": [], "exclude": [] }, |
| 52 | + "cache_selected_only": false, |
| 53 | + "log_level_file": "debug", |
| 54 | + "macro_debugging": false, |
| 55 | + "profiles_dir": "/Users/sung/Desktop/data-diff/datafold-demo-sung", |
| 56 | + "log_path": "/Users/sung/Desktop/data-diff/datafold-demo-sung/logs", |
| 57 | + "log_format": "default", |
| 58 | + "use_colors_file": true, |
| 59 | + "partial_parse_file_diff": true, |
| 60 | + "indirect_selection": "eager", |
| 61 | + "select": ["customers"], |
| 62 | + "favor_state": false, |
| 63 | + "populate_cache": true, |
| 64 | + "log_level": "info", |
| 65 | + "print": true, |
| 66 | + "write_json": true, |
| 67 | + "which": "run", |
| 68 | + "invocation_command": "dbt run -s customers", |
| 69 | + "static_parser": true, |
| 70 | + "enable_legacy_logger": false, |
| 71 | + "partial_parse": true, |
| 72 | + "vars": {}, |
| 73 | + "show_resource_report": false, |
| 74 | + "defer": false, |
| 75 | + "log_format_file": "debug", |
| 76 | + "use_colors": true |
| 77 | + } |
| 78 | +} |
0 commit comments