docs: BigQuery nested STRUCT support in anomaly tests - #2349
Merged
Conversation
column_anomalies and dimension_anomalies can now reference nested STRUCT leaf fields by dotted path on BigQuery (e.g. user.address.city), shipped in dbt package v0.26.0 (#1012). Add a shared note to the column and dimension anomaly test pages, plus a tailored note on all_columns_anomalies (which does not auto-expand nested STRUCTs). REPEATED/array ancestors are called out as unsupported. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents BigQuery nested STRUCT support in anomaly tests, shipped in dbt package v0.26.0 (#1012).
column_anomaliesanddimension_anomaliescan now reference nested STRUCT leaf fields by dotted path on BigQuery (e.g.user.address.city) instead of only top-level columns. The dotted path is preserved in alerts. Fields under a REPEATED (array) ancestor are not supported.all_columns_anomaliesdoes not auto-expand nested STRUCTs.Changes
snippets/data-tests/bigquery-nested-struct-anomalies.mdx— shared<Note>describing the capability + the array limitation.column-anomalies.mdxanddimension-anomalies.mdx— render the shared snippet.all-columns-anomalies.mdx— tailored note (does not auto-expand nested STRUCTs; points users to acolumn_anomaliestest on the nested field).Edits to existing pages only — no
docs.jsonnav or features-card change.Checks
mintlify broken-linkspasses (no broken links).For reviewer
all_columns_anomalies(acolumn_anomaliestest on the dotted field vs. an explicitcolumn_nameargument). The note currently recommends the former.🤖 Generated with Claude Code