Repository navigation
feat(compliance): add Layer 3 B.3 stores fixture and E_AMBIGUOUS_PATH cases - #728
Merged
Merged
Conversation
… cases Signed-off-by: prithvi <prithvisivasankar@gmail.com>
jbonofre
self-requested a review
November 15, 2026 17:20
christianeu-db
pushed a commit
that referenced
this pull request
Nov 15, 2026
Address the review of #728: - Add a21: store_returns.total_returns by date_dim.year on stores_ambiguous succeeds, because E_AMBIGUOUS_PATH applies only to paths between datasets that the lowering joins. - Renumber the stores error cases so they follow the order of the Section 8 table: e22 E_NO_PATH, e23 E_NO_ANCHOR, e24 and e25 E_AMBIGUOUS_PATH. - Rename the physical date_dim column to d_year, since YEAR is a reserved word in standard SQL. The model field stays year. - Correct the a17 and README explanation: an INNER JOIN drops only SS4 and leaves a NULL group of 40. - State that the stores rows are not from the specification, and scope the retail fixture headers to the retail cases. - Validate every wide table model with a glob in compliance-validate.
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.
Adds the stores fixture from Appendix B.3 and covers E_AMBIGUOUS_PATH.
stores_model has one path from store_sales to date_dim. stores_ambiguous_model adds store → date_dim through closing_date_id, so the same queries raise E_AMBIGUOUS_PATH (e22/e23). a19/a20 are those queries on the single-path model.
Also has unmatched home rows / NULL region (a17) so an INNER JOIN engine fails S1, plus the B.3 shared-dimension, no-path, and no-anchor cases.
Follow-up from #716.