docs: simplify anonymized examples

Use clean generic names instead of repeated redaction placeholders.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@gabriel.pereira
2026-09-11 11:53:37 -03:00
parent 5c01a80f1a
commit 52d3e870d2
2 changed files with 24 additions and 26 deletions

View File

@@ -9,17 +9,17 @@
with source_quotes as (
select
[REDACTED: quote_id column],
[REDACTED: line_item column],
[REDACTED: customer_id column],
[REDACTED: material_id column],
[REDACTED: quantity column],
[REDACTED: net_value column],
[REDACTED: quote_date column],
[REDACTED: sales_person_id column],
[REDACTED: source_timestamp column]
from [REDACTED: SOURCE_SCHEMA].[REDACTED: QUOTE_TABLE]
where [REDACTED: date_partition] >= dateadd(day, -1, current_date())
quote_id,
line_item,
customer_id,
material_id,
quantity,
net_value,
quote_date,
sales_person_id,
source_timestamp
from source_quotes
where quote_date >= dateadd(day, -1, current_date())
),
enrich_product_portfolio as (
@@ -34,9 +34,9 @@ enrich_product_portfolio as (
sq.sales_person_id,
/* Product portfolio classification */
case
when sq.material_id like '[REDACTED: pattern 1]%' then 'data-integration'
when sq.material_id like '[REDACTED: pattern 2]%' then 'automation'
when sq.material_id like '[REDACTED: pattern 3]%' then 'connectivity'
when sq.material_id like 'DI-%' then 'data-integration'
when sq.material_id like 'AU-%' then 'automation'
when sq.material_id like 'CO-%' then 'connectivity'
else 'other'
end as portfolio_code,
pm.portfolio_name,
@@ -109,5 +109,3 @@ select
sales_person_id,
current_timestamp() as dbt_loaded_at
from governance_flags
-- ponytail: materialized as table for chatbot + BI queries (not incremental yet; append-only refresh if needed later)