Add deprecated warning banner to ddsql_schema dataset pages - #38514
Open
irenegaunab wants to merge 5 commits into
Open
Add deprecated warning banner to ddsql_schema dataset pages#38514irenegaunab wants to merge 5 commits into
irenegaunab wants to merge 5 commits into
Conversation
Dataset pages with status: deprecated now show an alert-warning banner explaining the table no longer returns data. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Preview links (active after the
|
Contributor
|
🔄 Datadog auto-retried 1 job - 1 passed on retry 🔗 Commit SHA: 8869ea8 | Docs | Datadog PR Page | Give us feedback! |
petitcl
reviewed
Jul 28, 2026
| <div class="ddsql-schema-single"> | ||
| {{ if eq .Params.status "deprecated" }} | ||
| <div class="alert alert-warning"> | ||
| <strong>Deprecated</strong>: This table is deprecated and may return no data. |
Contributor
There was a problem hiding this comment.
super nit: the text was changed and the PR screenshot does not match the text anymore.
| {{ partial "site_support_banner/site_support_banner.html" . }} | ||
|
|
||
| <div class="ddsql-schema-single"> | ||
| {{ if eq .Params.status "deprecated" }} |
Contributor
There was a problem hiding this comment.
I found the place where we filter out non stable datasets and it's here. This logic should probably be updated to be "status == stable | deprecated" (ie allowlist of known supported statuses in case we want to add more statuses in the future).
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.
Summary
Dataset pages with
status: deprecatednow show an alert warning banner explaining the table no longer returns data.This supports the REDAPL→UDM migration where ~30 retired cloud resource tables were deprecated (DSEM-999). Here you can see a list of deprecated tables. Without this change, the public docs such as this one would show no indication that a table is deprecated.
What does this PR do? What is the motivation?
Adds a conditional block to
layouts/ddsql_schema/single.htmlthat renders analert-warningbanner when.Params.status == "deprecated":Testing
Verified the deprecated warning banner renders correctly on the branch preview:

https://docs-staging.datadoghq.com/irene.gauna/add-deprecation-status/ddsql_reference/data_directory/aws/aws.resource_tags/
🤖 Generated with Claude Code