From dcfba6a4c9f0de6cceaac8bc8c00a9a2e83570b5 Mon Sep 17 00:00:00 2001
From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
Date: Mon, 29 Jan 2024 11:45:59 -0700
Subject: [PATCH] Add missing example for `dbt compile --inline`

---
 website/docs/reference/commands/compile.md | 34 +++++++++++++++-------
 1 file changed, 24 insertions(+), 10 deletions(-)

diff --git a/website/docs/reference/commands/compile.md b/website/docs/reference/commands/compile.md
index cde65b7c6b6..b6ccd1e218c 100644
--- a/website/docs/reference/commands/compile.md
+++ b/website/docs/reference/commands/compile.md
@@ -35,15 +35,16 @@ dbt compile --inline "select * from {{ ref('raw_orders') }}"
 
 returns the following:
 
-
 ```bash
-dbt compile --select "stg_orders"
-21:17:09 Running with dbt=1.5.0-b5
-21:17:09 Found 5 models, 20 tests, 0 snapshots, 0 analyses, 425 macros, 0 operations, 3 seed files, 0 sources, 0 exposures, 0 metrics, 0 groups
-21:17:09
+dbt compile --select "stg_orders"                           
+
+21:17:09  Running with dbt=1.7.5
+21:17:09  Registered adapter: postgres=1.7.5
+21:17:09  Found 5 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 401 macros, 0 groups, 0 semantic models
+21:17:09  
 21:17:09 Concurrency: 24 threads (target='dev')
-21:17:09
-21:17:09 Compiled node 'stg_orders' is:
+21:17:09  
+21:17:09  Compiled node 'stg_orders' is:
 with source as (
     select * from "jaffle_shop"."main"."raw_orders"
 
@@ -52,9 +53,9 @@ with source as (
 renamed as (
 
     select
-        id as order_id
-        user_id as customer_id
-        order_date
+        id as order_id,
+        user_id as customer_id,
+        order_date,
         status
 
     from source
@@ -64,6 +65,19 @@ renamed as (
 select * from renamed
 ```
 
+```bash
+dbt compile --inline "select * from {{ ref('raw_orders') }}"
+
+18:15:49  Running with dbt=1.7.5
+18:15:50  Registered adapter: postgres=1.7.5
+18:15:50  Found 5 models, 3 seeds, 20 tests, 0 sources, 0 exposures, 0 metrics, 401 macros, 0 groups, 0 semantic models
+18:15:50  
+18:15:50  Concurrency: 5 threads (target='postgres')
+18:15:50  
+18:15:50  Compiled inline node is:
+select * from "jaffle_shop"."main"."raw_orders"
+```
+
 </VersionBlock>
 
 The command accesses the data platform to cache-related metadata, and to run introspective queries. Use the flags: