dbt-extra 0.2.0__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dbt_extra-0.2.2/CHANGELOG.md +208 -0
- dbt_extra-0.2.2/PKG-INFO +744 -0
- dbt_extra-0.2.2/README.md +726 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/compatibility.md +32 -19
- dbt_extra-0.2.2/docs/development/architecture.md +103 -0
- dbt_extra-0.2.2/docs/development/testing.md +168 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/getting-started.md +68 -15
- dbt_extra-0.2.2/docs/guides/existing-dbt-project.md +43 -0
- dbt_extra-0.2.2/docs/guides/five-step-demo.md +134 -0
- dbt_extra-0.2.2/docs/guides/inspection-and-optimization.md +233 -0
- dbt_extra-0.2.2/docs/guides/metadata-enrichment.md +84 -0
- dbt_extra-0.2.2/docs/guides/partial-optimization.md +136 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/guides/production-workflow.md +32 -5
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/guides/source-optimizer-safety.md +57 -25
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/index.md +14 -6
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/reference/catalogs.md +30 -0
- dbt_extra-0.2.2/docs/reference/cli.md +217 -0
- dbt_extra-0.2.2/docs/reference/configuration.md +147 -0
- dbt_extra-0.2.2/docs/reference/python-api.md +118 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/README.md +3565 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/athena.md +57 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/audit.md +160 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/bigquery.md +48 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/databricks.md +157 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/duckdb.md +68 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/fabric.md +60 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/function_sources.json +5609 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/postgres.md +86 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/redshift.md +63 -0
- dbt_extra-0.2.2/docs/reference/sql-functions/snowflake.md +63 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/reference/sql-functions/spark.md +17 -2
- dbt_extra-0.2.2/docs/reference/sql-functions/trino.md +69 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/reference/sql-functions/tsql.md +13 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/troubleshooting.md +8 -5
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/README.md +61 -24
- dbt_extra-0.2.2/examples/jaffle_shop/models/gld/customer_profile.sql +5 -0
- dbt_extra-0.2.2/examples/jaffle_shop/models/slv/customer_details.sql +6 -0
- dbt_extra-0.2.2/examples/jaffle_shop/models/slv/stg_customers.sql +5 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/pyproject.toml +2 -1
- dbt_extra-0.2.2/scripts/audit_sql_functions.py +95 -0
- dbt_extra-0.2.2/scripts/benchmark_inspection.py +44 -0
- dbt_extra-0.2.2/scripts/collect_sql_function_sources.py +209 -0
- dbt_extra-0.2.2/scripts/demo_review.py +102 -0
- dbt_extra-0.2.2/scripts/generate_sql_function_docs.py +263 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/scripts/smoke_distribution.py +3 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/__init__.py +1 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/analysis/analyzer.py +5 -4
- dbt_extra-0.2.2/src/dbt_extra/analysis/column_demand.py +48 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/analysis/dependencies.py +1 -1
- dbt_extra-0.2.2/src/dbt_extra/analysis/expansion.py +125 -0
- dbt_extra-0.2.2/src/dbt_extra/analysis/type_inference.py +198 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/cli.py +70 -10
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/config.py +4 -4
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/enrichment.py +3 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/files/changes.py +1 -74
- dbt_extra-0.2.2/src/dbt_extra/files/output.py +51 -0
- dbt_extra-0.2.2/src/dbt_extra/inspection.py +111 -0
- dbt_extra-0.2.2/src/dbt_extra/optimization.py +59 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/discovery.py +1 -1
- dbt_extra-0.2.2/src/dbt_extra/project/model_sql.py +71 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/project.py +1 -1
- dbt_extra-0.2.2/src/dbt_extra/project/property_edits.py +74 -0
- {dbt_extra-0.2.0/src/dbt_extra/sql → dbt_extra-0.2.2/src/dbt_extra/project}/references.py +1 -11
- {dbt_extra-0.2.0/src/dbt_extra/sql → dbt_extra-0.2.2/src/dbt_extra/project}/relations.py +2 -2
- {dbt_extra-0.2.0/src/dbt_extra/sql → dbt_extra-0.2.2/src/dbt_extra/project}/schema_evidence.py +9 -6
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/export.py +2 -2
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/import_.py +13 -10
- {dbt_extra-0.2.0/src/dbt_extra/sql → dbt_extra-0.2.2/src/dbt_extra/review}/shorthand.py +1 -26
- dbt_extra-0.2.2/src/dbt_extra/review/xlsx/__init__.py +1 -0
- dbt_extra-0.2.2/src/dbt_extra/review/xlsx/layout.py +255 -0
- dbt_extra-0.2.2/src/dbt_extra/review/xlsx/reader.py +138 -0
- dbt_extra-0.2.2/src/dbt_extra/review/xlsx/styles.py +110 -0
- dbt_extra-0.2.2/src/dbt_extra/review/xlsx/writer.py +51 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/__init__.py +7 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/aliases.py +96 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/dialects.py +3 -0
- dbt_extra-0.2.0/src/dbt_extra/sql/scopes.py → dbt_extra-0.2.2/src/dbt_extra/sql/edits.py +3 -44
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/__init__.py +8 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/athena.py +20 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/bigquery.py +14 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/databricks.py +103 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/duckdb.py +36 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/fabric.py +25 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/models.py +23 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/postgres.py +48 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/redshift.py +27 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/registry.py +147 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/snowflake.py +23 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/functions/spark.py +1 -1
- dbt_extra-0.2.2/src/dbt_extra/sql/functions/trino.py +28 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/functions/tsql.py +1 -1
- dbt_extra-0.2.2/src/dbt_extra/sql/identifiers.py +28 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/models.py +32 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/parser.py +8 -20
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/qualification.py +12 -12
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/sql/renderer.py +20 -7
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/__init__.py +1 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/engine.py +177 -0
- dbt_extra-0.2.0/src/dbt_extra/sql/source_expressions.py → dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/expressions.py +12 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/pipeline.py +50 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/projections.py +101 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/query_boundaries.py +110 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/regions.py +162 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/session.py +111 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/rewrites/structural.py +220 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/safety.py +107 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/scopes.py +39 -0
- dbt_extra-0.2.2/src/dbt_extra/sql/templates/__init__.py +1 -0
- {dbt_extra-0.2.0/src/dbt_extra/sql → dbt_extra-0.2.2/src/dbt_extra/sql/templates}/config_format.py +1 -2
- dbt_extra-0.2.2/src/dbt_extra/sql/templates/expansion.py +55 -0
- dbt_extra-0.2.0/src/dbt_extra/sql/macros.py → dbt_extra-0.2.2/src/dbt_extra/sql/templates/interpreter.py +20 -146
- dbt_extra-0.2.2/src/dbt_extra/sql/templates/macros.py +96 -0
- dbt_extra-0.2.0/src/dbt_extra/sql/jinja.py → dbt_extra-0.2.2/src/dbt_extra/sql/templates/syntax.py +26 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/validation.py +3 -2
- dbt_extra-0.2.2/src/dbt_extra/workflow_results.py +30 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/analysis/test_dependencies.py +1 -1
- dbt_extra-0.2.2/tests/conftest.py +11 -0
- dbt_extra-0.2.2/tests/optimizer_cases.py +48 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/review/test_workbook.py +11 -16
- dbt_extra-0.2.2/tests/semantics.py +65 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/functions/helpers.py +16 -9
- dbt_extra-0.2.2/tests/sql/functions/test_athena.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_audit.py +49 -0
- dbt_extra-0.2.2/tests/sql/functions/test_bigquery.py +30 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/functions/test_boundaries.py +36 -19
- dbt_extra-0.2.2/tests/sql/functions/test_databricks.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_duckdb.py +41 -0
- dbt_extra-0.2.2/tests/sql/functions/test_effect_safety.py +139 -0
- dbt_extra-0.2.2/tests/sql/functions/test_fabric.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_function_docs.py +195 -0
- dbt_extra-0.2.2/tests/sql/functions/test_generator_review.py +47 -0
- dbt_extra-0.2.2/tests/sql/functions/test_native_inference.py +56 -0
- dbt_extra-0.2.2/tests/sql/functions/test_native_type_rules.py +123 -0
- dbt_extra-0.2.2/tests/sql/functions/test_postgres.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_redshift.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_registry.py +218 -0
- dbt_extra-0.2.2/tests/sql/functions/test_snowflake.py +30 -0
- dbt_extra-0.2.2/tests/sql/functions/test_trino.py +30 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_config_format.py +3 -3
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_dialects.py +1 -1
- dbt_extra-0.2.2/tests/sql/test_generated_optimization.py +72 -0
- dbt_extra-0.2.2/tests/sql/test_inspection_readability.py +136 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_jinja.py +1 -1
- dbt_extra-0.2.2/tests/sql/test_jinja_execution.py +68 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_macros.py +10 -8
- dbt_extra-0.2.2/tests/sql/test_optimizer_semantics.py +173 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_parser.py +2 -1
- dbt_extra-0.2.2/tests/sql/test_partial_optimization.py +237 -0
- dbt_extra-0.2.2/tests/sql/test_postgres_optimization.py +74 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_shorthand.py +2 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/test_source_optimization.py +81 -79
- dbt_extra-0.2.2/tests/sql/test_spark_optimization.py +163 -0
- dbt_extra-0.2.2/tests/sql/test_static_jinja.py +85 -0
- dbt_extra-0.2.2/tests/sql/test_template_context.py +27 -0
- dbt_extra-0.2.2/tests/synthetic.py +115 -0
- dbt_extra-0.2.2/tests/test_architecture.py +118 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/test_documentation.py +245 -25
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/test_yaml_style.py +1 -1
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_dbt.py +16 -15
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_function_enrichment.py +16 -9
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_inspection_compilation.py +10 -3
- dbt_extra-0.2.2/tests/workflows/test_inspection_destinations.py +193 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_inspection_optimization.py +9 -10
- dbt_extra-0.2.2/tests/workflows/test_inspection_output.py +89 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_inspection_rules.py +11 -26
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_metadata.py +23 -5
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_optimization_examples.py +30 -22
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_optimization_options.py +21 -2
- dbt_extra-0.2.2/tests/workflows/test_optimizer_dbt_execution.py +77 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/workflows/test_project_resolution.py +30 -10
- dbt_extra-0.2.2/tests/workflows/test_results.py +24 -0
- dbt_extra-0.2.2/tests/workflows/test_synthetic_optimization.py +116 -0
- dbt_extra-0.2.0/CHANGELOG.md +0 -90
- dbt_extra-0.2.0/PKG-INFO +0 -617
- dbt_extra-0.2.0/README.md +0 -599
- dbt_extra-0.2.0/docs/development/architecture.md +0 -46
- dbt_extra-0.2.0/docs/development/releasing.md +0 -71
- dbt_extra-0.2.0/docs/development/testing.md +0 -86
- dbt_extra-0.2.0/docs/guides/ai-assisted-workflow.md +0 -88
- dbt_extra-0.2.0/docs/guides/existing-dbt-project.md +0 -22
- dbt_extra-0.2.0/docs/guides/inspection-and-optimization.md +0 -147
- dbt_extra-0.2.0/docs/reference/cli.md +0 -126
- dbt_extra-0.2.0/docs/reference/configuration.md +0 -117
- dbt_extra-0.2.0/docs/reference/sql-functions/README.md +0 -142
- dbt_extra-0.2.0/src/dbt_extra/analysis/types.py +0 -29
- dbt_extra-0.2.0/src/dbt_extra/inspection.py +0 -195
- dbt_extra-0.2.0/src/dbt_extra/optimization.py +0 -162
- dbt_extra-0.2.0/src/dbt_extra/review/workbook.py +0 -596
- dbt_extra-0.2.0/src/dbt_extra/sql/__init__.py +0 -6
- dbt_extra-0.2.0/src/dbt_extra/sql/functions/__init__.py +0 -98
- dbt_extra-0.2.0/src/dbt_extra/sql/inspection_rules.py +0 -101
- dbt_extra-0.2.0/src/dbt_extra/sql/source_rules.py +0 -317
- dbt_extra-0.2.0/tests/conftest.py +0 -3
- dbt_extra-0.2.0/tests/test_architecture.py +0 -32
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/.gitignore +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/CONTRIBUTING.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/LICENSE +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/SECURITY.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/assets/dbt-extra-mark-dark.svg +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/assets/dbt-extra-mark-mono.svg +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/assets/dbt-extra-mark.svg +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/concepts.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/development/architecture.drawio +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/development/architecture.png +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/guides/catalog-round-trip.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/docs/logo.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/.gitignore +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/dbt_project.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/extra_project.yaml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/hash_relation_attributes.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/nonnegative.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/round_money.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/rounded_total.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/schema.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/macros/unique_combination.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/brz/brz.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/brz/brz_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/brz/brz_orders.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/brz/brz_payments.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/brz/sources.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/capabilities/capabilities.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/capabilities/gld_customer_attribute_hash.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/capabilities/gld_customer_cohorts.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/capabilities/gld_join_counts.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/capabilities/gld_macro_arguments.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/customer_revenue.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/gld.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/gld_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/gld_daily_sales.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/gld_orders.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/gld_payment_method_summary.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/macro_revenue.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/README.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_customer_leaderboard.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_customer_lifetime_value.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_customer_order_ranking.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_distinct_paying_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_high_value_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_boolean_normalization.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_constants.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_customer_profile.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_join_simplification.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_predicates.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_projections.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_schema_projection.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_optimizer_shared_subqueries.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/gld_payment_union.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/gld/optimization/optimization.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/schema.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/slv/orders.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/slv/slv.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/slv/slv_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/slv/slv_orders.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/models/slv/slv_payments.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/profiles.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/LICENSE +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/README.md +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/demo_raw_orders.csv +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/raw_customers.csv +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/raw_orders.csv +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/seeds/raw_payments.csv +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/snapshots/slv/customer_history.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/tests/demo_revenue_reconciliation.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/examples/jaffle_shop/tests/jaffle_shop_reconciliation.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/__main__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/analysis/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/analysis/lineage.py +0 -0
- /dbt_extra-0.2.0/src/dbt_extra/analysis/models.py → /dbt_extra-0.2.2/src/dbt_extra/analysis/results.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/errors.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/files/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/files/paths.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/files/yaml.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/artifacts.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/properties.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/resources.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/project/selectors.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/contract.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/csv.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/src/dbt_extra/review/json.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/files/test_changes.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/files/test_yaml.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_customer_leaderboard.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_customer_lifetime_value.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_customer_order_ranking.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_distinct_paying_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_high_value_customers.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_boolean_normalization.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_constants.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_customer_profile.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_join_simplification.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_predicates.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_projections.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_schema_projection.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_optimizer_shared_subqueries.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization/gld_payment_union.sql +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/fixtures/optimization_inputs.yml +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/helpers.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/project/test_dialect_resolution.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/project/test_resources.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/functions/__init__.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/functions/test_spark.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/sql/functions/test_tsql.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/test_branding.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/tests/test_logo.py +0 -0
- {dbt_extra-0.2.0 → dbt_extra-0.2.2}/uv.lock +0 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
|
+
Entries are grouped by change type, with the newest version first. Unreleased
|
|
7
|
+
changes receive a version and an ISO 8601 release date when released.
|
|
8
|
+
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [0.2.2] - 2026-11-06
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Add `inspect --copy` and `inspect --output PATH` to copy or save rendered SQL
|
|
16
|
+
without CLI notices or diagnostics, while preserving SQL comments and terminal
|
|
17
|
+
warnings. Relative output paths use the dbt project root; existing exports
|
|
18
|
+
require `--force`, and project inputs remain protected. Both options require
|
|
19
|
+
`--view sql` and can be combined; clipboard failures leave saved SQL intact.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Summarize repeated `inspect` rewrite diagnostics by default, with applied rules
|
|
24
|
+
listed once per model. Add `inspect --verbose` for full per-rule/per-scope
|
|
25
|
+
details and occurrence counts; SQL, safety checks and internal outcomes are
|
|
26
|
+
unchanged, and boundary warnings and rollback reasons remain visible.
|
|
27
|
+
- Add a reproducible five-step demo, with static SQL
|
|
28
|
+
optimization boundaries and no warehouse performance claims.
|
|
29
|
+
- Document PyPI installation with `uv add dbt-extra` and the standalone uv tool
|
|
30
|
+
option in the README.
|
|
31
|
+
- Consolidate column-tracing examples in `examples/jaffle_shop`, including the
|
|
32
|
+
retained-join walkthrough, and remove the redundant standalone example.
|
|
33
|
+
|
|
34
|
+
## [0.2.1] - 2026-11-05
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- Support `DBT_PROJECT_DIR` for CLI and Python project selection after
|
|
39
|
+
`EXTRA_PROJECT_DIR` and before upward discovery. Explicit `--project-dir` and
|
|
40
|
+
Python directory arguments still take precedence; invalid selections fail
|
|
41
|
+
without falling back.
|
|
42
|
+
- Rule checkpoints and structured applied/blocked/rolled-back outcomes for SQL
|
|
43
|
+
inspection and authored optimization. Recoverable rule failures discard only
|
|
44
|
+
their candidate; independent validated work survives.
|
|
45
|
+
- Dependency-aware projection pruning for windows, QUALIFY, shared CTEs,
|
|
46
|
+
aggregates, positional references and set operations, with evaluation-safety
|
|
47
|
+
roots and retained global-aggregate cardinality.
|
|
48
|
+
- Bounded top-level literal Jinja assignments, loops and conditions. Inspection
|
|
49
|
+
can render static SQL; authored templates remain byte-preserved by default and
|
|
50
|
+
require explicit `optimize --expand true` for reduction.
|
|
51
|
+
- Generated synthetic dbt/temporal fixtures, repeated-dependency benchmark,
|
|
52
|
+
minimum/fresh SQLGlot compatibility CI and local Spark ANSI execution tests.
|
|
53
|
+
- Strict execution oracles with deliberate broken-candidate checks, seeded
|
|
54
|
+
multi-rule/asymmetric-input cases, independent real-Jinja comparisons, real
|
|
55
|
+
before/after dbt-duckdb rebuilds, expanded Spark execution and a PostgreSQL 16 CI lane.
|
|
56
|
+
- Spark execution targets PySpark 4.2.1 with Java 21, verifying the actual running
|
|
57
|
+
version so an inherited SPARK_HOME cannot silently test an older installation.
|
|
58
|
+
- Reproducible, source-linked first-pass SQL-function audit for the nine remaining
|
|
59
|
+
dialects, separating native support, recognition gaps and type-inference gaps.
|
|
60
|
+
- Explicit SQL-function gap catalogs for Fabric Warehouse (3), Databricks (3),
|
|
61
|
+
DuckDB (4), and PostgreSQL (6), with per-entry recognition, conservative typing,
|
|
62
|
+
generator/safety and YAML-enrichment tests. Native functions, CLI-only DuckDB
|
|
63
|
+
`getenv`, and unproven Fabric overloads remain outside the catalogs. This adds
|
|
64
|
+
offline coverage, not warehouse execution certification.
|
|
65
|
+
- Complete the remaining SQL-function batches with explicit Snowflake (4),
|
|
66
|
+
BigQuery (2), Redshift (4), Trino (4), and Athena engine-3 (4) gap entries,
|
|
67
|
+
official-source audit evidence and per-function enrichment/safety regressions.
|
|
68
|
+
Trino `bar` supports exactly two or four arguments; BigQuery contextual and
|
|
69
|
+
nested input-dependent results remain unresolved. No native ASTs are replaced
|
|
70
|
+
and no new function-evaluation or rewrite permission is granted.
|
|
71
|
+
- Python API reference, metadata-enrichment and partial-optimization guides, and
|
|
72
|
+
multi-layer column-tracing examples in Jaffle Shop and `examples/column_trace`.
|
|
73
|
+
|
|
74
|
+
### Changed
|
|
75
|
+
|
|
76
|
+
- Unknown, volatile and fallible functions block affected evaluation movement,
|
|
77
|
+
not unrelated constant folding. Binding failures retain SQL and disable
|
|
78
|
+
binding-dependent rules instead of necessarily skipping the whole model.
|
|
79
|
+
- Inspection uses complete query-derived schema evidence, never assumes YAML
|
|
80
|
+
documentation is exhaustive, and caches parsing, demands and expanded bodies
|
|
81
|
+
within an operation. Repeated expansion diagnostics retain occurrence counts.
|
|
82
|
+
- Generated SQL aliases use readable input names with collision handling instead
|
|
83
|
+
of internal counters, preserving authored aliases and correlated bindings.
|
|
84
|
+
Long expanded names retain their original identity in comments.
|
|
85
|
+
- Conservatively remove single-use CTEs and column-only projection wrappers when
|
|
86
|
+
evaluation, output bindings and row-affecting boundaries remain intact.
|
|
87
|
+
- **Breaking:** Rename `Project.find()` to `Project.find_model()`, `Parsed` to
|
|
88
|
+
`ParsedSQL`, and function records `Function` / `Shape` to `FunctionSpec` /
|
|
89
|
+
`FunctionShape`. Move standalone `optimize_source()` from
|
|
90
|
+
`dbt_extra.optimization` to `dbt_extra.sql.rewrites.engine`.
|
|
91
|
+
- **Breaking:** Reorganize SQL templates and rewrites under `sql.templates` and
|
|
92
|
+
`sql.rewrites`, project-aware SQL adapters under `project`, analysis records
|
|
93
|
+
and type inference under `analysis.results` and `analysis.type_inference`,
|
|
94
|
+
and workbook handling under `review.xlsx`. Review shorthand moves to
|
|
95
|
+
`review.shorthand`; removed module paths and names have no compatibility aliases.
|
|
96
|
+
- **Breaking:** Move project-specific `ChangeSet.properties()` and
|
|
97
|
+
`ChangeSet.project_config()` edits to `dbt_extra.project.property_edits.PropertyEdits(changes)`.
|
|
98
|
+
Generic `ChangeSet` handles checked byte writes only; optimization and review
|
|
99
|
+
import return `WorkflowChanges` with explicit report fields.
|
|
100
|
+
|
|
101
|
+
### Fixed
|
|
102
|
+
|
|
103
|
+
- EXISTS-to-IN rewriting now requires matching declared integral base-column
|
|
104
|
+
types on explicitly tested engines; mixed/unknown types retain EXISTS instead
|
|
105
|
+
of risking changed comparison coercion or binding errors.
|
|
106
|
+
- Optimized project models no longer gain statement terminators that break dbt
|
|
107
|
+
materialization wrappers. Standalone SQL output still has a terminator.
|
|
108
|
+
- Static string methods follow real Jinja: `.strip()` is supported instead of
|
|
109
|
+
the nonexistent `.trim()` method; the `trim` filter remains supported.
|
|
110
|
+
- Inspection no longer simplifies overflowing `(2147483647 + 1) * 0` to zero.
|
|
111
|
+
- Qualification avoids copying potentially fallible/volatile alias expressions.
|
|
112
|
+
Local rewrites retain unnamed computed output labels and exact decimal types.
|
|
113
|
+
- Unused projected RHS columns alone no longer authorize erasing fallible join
|
|
114
|
+
evaluation. SQL-derived uniqueness and matching proofs remain necessary.
|
|
115
|
+
- Predicate rewrites retain input-dependent comparisons when simplification
|
|
116
|
+
would otherwise erase unproven implicit-conversion behavior.
|
|
117
|
+
- Match local function catalogs when validated dialect strings include settings,
|
|
118
|
+
without dropping those settings from parsing or type inference. Validate source
|
|
119
|
+
registrations before duplicate names can be overwritten, and make generator
|
|
120
|
+
shape dispatch dialect-specific with an unknown-shape fallback for new entries.
|
|
121
|
+
|
|
122
|
+
### Removed
|
|
123
|
+
|
|
124
|
+
- **Breaking:** Remove legacy flat XLSX import support. Re-export affected
|
|
125
|
+
workbooks using the current hierarchical layout before editing or importing.
|
|
126
|
+
|
|
127
|
+
## [0.2.0] - 2026-11-04
|
|
128
|
+
|
|
129
|
+
### Added
|
|
130
|
+
|
|
131
|
+
- SQL-function enrichment reference with executable Spark and T-SQL examples,
|
|
132
|
+
unresolved-function cases, inference boundaries and a shared path for adding
|
|
133
|
+
coverage. These are offline metadata checks, not new warehouse integrations.
|
|
134
|
+
- Dialect-local semantics for 162 demonstrated SQLGlot Anonymous-function gaps:
|
|
135
|
+
86 Spark and 76 T-SQL functions, with separate per-function recognition, shape,
|
|
136
|
+
return-type, rewrite-safety and metadata-enrichment tests. The folder-based
|
|
137
|
+
function reference lists all implementations and their type policies; unknown
|
|
138
|
+
types and generator schemas remain conservative.
|
|
139
|
+
- Automatic formatting of leading Jinja `config()` calls during optimization:
|
|
140
|
+
`pretty` expands arguments and nested dictionaries/lists, while `compact` uses
|
|
141
|
+
a single line except for authored multiline strings. Formatting preserves quotes, values,
|
|
142
|
+
key order, and Jinja semantics without evaluating templates or adding dependencies;
|
|
143
|
+
other Jinja calls and review-import formatting remain unchanged.
|
|
144
|
+
|
|
145
|
+
### Changed
|
|
146
|
+
|
|
147
|
+
- Centralize SQL dialect resolution and conservative arithmetic rewrite permissions.
|
|
148
|
+
Preserve `fabric` as its dedicated SQLGlot dialect, map manifest `fabricspark`
|
|
149
|
+
to `spark` and `sqlserver` to `tsql`, and report invalid choices consistently.
|
|
150
|
+
Share the offline dialect regression matrix and include Fabric Warehouse,
|
|
151
|
+
Databricks, Redshift, Trino and Athena;
|
|
152
|
+
warehouse execution coverage remains DuckDB-only.
|
|
153
|
+
- **Breaking:** Unify project selection around the directory containing
|
|
154
|
+
`dbt_project.yml`: `--project-dir` > `EXTRA_PROJECT_DIR` > nearest ancestor dbt
|
|
155
|
+
project. Load optional settings only at that root; reject legacy
|
|
156
|
+
`dbt.project_dir` with migration guidance. `init` uses the shared resolver and
|
|
157
|
+
no longer accepts a positional directory; use `extra --project-dir PATH init`.
|
|
158
|
+
CLI input paths remain current-directory-relative; configured paths and export
|
|
159
|
+
destinations remain project-root-relative.
|
|
160
|
+
- **Breaking:** Replace `optimize --preserve-macro` with `--expand true|false`
|
|
161
|
+
(default: false). Opting in writes supported static local macros as SQL, then
|
|
162
|
+
optimizes it; unsupported models are skipped unchanged. Relation/config calls
|
|
163
|
+
remain authored. Rename `optimization.preserve_macros` to `optimization.expand`
|
|
164
|
+
with inverted polarity.
|
|
165
|
+
|
|
166
|
+
### Fixed
|
|
167
|
+
|
|
168
|
+
- Preserve authored output names and quoted relation identities during Snowflake
|
|
169
|
+
type inference and lineage, without creating uppercase duplicate YAML columns.
|
|
170
|
+
- Handle Redshift's empty parsed `EXCLUDE` clause in guarded rewrites, and retain
|
|
171
|
+
`QUALIFY` window-alias definitions during SQLGlot 30.29 inspection optimization.
|
|
172
|
+
|
|
173
|
+
### Removed
|
|
174
|
+
|
|
175
|
+
- **Breaking:** Remove `--dry-run`; use `--preview` as the sole no-write flag on
|
|
176
|
+
writing commands.
|
|
177
|
+
|
|
178
|
+
## [0.1.0] - 2026-11-04
|
|
179
|
+
|
|
180
|
+
Initial release of **dbt-extra**.
|
|
181
|
+
|
|
182
|
+
### Added
|
|
183
|
+
|
|
184
|
+
- Distribution `dbt-extra`, Python package `dbt_extra`, and CLI `extra`.
|
|
185
|
+
- Native dbt SQL, property YAML, macros and snapshots remain authoritative.
|
|
186
|
+
- Offline validation, full-model and selected-column inspection, logical plans,
|
|
187
|
+
bounded local macro previews, and explicit analysis coverage reasons.
|
|
188
|
+
- Folder-grouped XLSX and CSV reviews, read-only JSON catalogs, and
|
|
189
|
+
baseline-checked edits back to authored files with YAML comment preservation.
|
|
190
|
+
- Conservative source SQL optimization and missing-metadata enrichment;
|
|
191
|
+
`--preview` / `--dry-run` writes nothing.
|
|
192
|
+
- Optional `extra_project.yaml` and `EXTRA_PROJECT_DIR`; review exports default
|
|
193
|
+
to `extra/review/` with format version 1 and no branded format identifiers.
|
|
194
|
+
- Metadata enrichment and review import update existing dbt YAML entries only;
|
|
195
|
+
missing entries are reported and skipped, never created automatically.
|
|
196
|
+
- Documentation, executable Jaffle Shop examples and native dbt integration
|
|
197
|
+
fixture, tests, package smoke checks and cross-platform CI.
|
|
198
|
+
- MIT licensing and third-party Apache 2.0 seed attribution.
|
|
199
|
+
- Adopted the maintainer-supplied Modular joint / Lagoon SVG icon, preserving
|
|
200
|
+
its paths and palette across light/dark variants, plus a monochrome asset.
|
|
201
|
+
- PyPI trusted publishing after CI on `v*` tags or manual dispatch, with
|
|
202
|
+
release-tag/package-version verification for tag runs.
|
|
203
|
+
|
|
204
|
+
[Unreleased]: https://github.com/billybillysss/dbt-extra/compare/v0.2.2...HEAD
|
|
205
|
+
[0.2.2]: https://github.com/billybillysss/dbt-extra/compare/v0.2.1...v0.2.2
|
|
206
|
+
[0.2.1]: https://github.com/billybillysss/dbt-extra/compare/v0.2.0...v0.2.1
|
|
207
|
+
[0.2.0]: https://github.com/billybillysss/dbt-extra/compare/v0.1.0...v0.2.0
|
|
208
|
+
[0.1.0]: https://github.com/billybillysss/dbt-extra/releases/tag/v0.1.0
|