docgen: add as_of_clause diagram (clean 4 Bazel file demo)#40
Open
ebembi-crdb wants to merge 1 commit into
Open
docgen: add as_of_clause diagram (clean 4 Bazel file demo)#40ebembi-crdb wants to merge 1 commit into
ebembi-crdb wants to merge 1 commit into
Conversation
Demonstrates adding a new SQL diagram: - Update diagrams.go with spec entry - Update all 4 Bazel files (BUILD.bazel, bnf.bzl, diagrams.bzl, docs.bzl) - CI automatically generates BNF from sql.y No manual BNF file needed - CI handles generation. Epic: none Release note: none
SQL Diagram Generation Report✅ Validation Passed 🔄 Diagram changes detected Changed Diagram Previewsas_of_clause Showing 1 changed diagram(s). Only diagrams that differ from master are shown. SKIP DOC Warnings (click to expand)The following grammar rules are suppressed from documentation: This comment was generated by the SQL Diagram CI workflow. |
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
Clean demo showing the full process for adding a new SQL diagram.
1 commit, 6 files:
diagrams.go- spec entryNo manual BNF file - CI generates it automatically from sql.y.
Grammar
Used in time travel queries:
SELECT * FROM t AS OF SYSTEM TIME '-1m'