Repository navigation
chore(syntax-cases): mark a disputed form's cases documented only for its positives - #196
Merged
Merged
Conversation
… its positives When Snowflake refuses every documented positive of a form, every observed case of the form was marked documented, intended rejections too. That hid real negative evidence: an unquoted reserved word or a missing operand that Snowflake rejected could never be judged. A case in such a form is now documented only when it renders one of the form's positives. Its other cases are judged by their receipts like any other observed case. An observed rendering keeps the expect it replaced, so a positive observed for an empty clause still counts as a positive. Marks are regenerated.
…variable EXECUTE DCM PROJECT ... ENVIRONMENT takes a bind variable, so the hand rows use ( ? ) instead of an identifier. Four of the six statements then parse and fail only on the placeholder source, so they are no longer documented contradictions and their receipts settle them. The two that still fail at the configuration arguments stay documented.
…ases Pins evidence 780c1ad3: the cases regenerated with documented marks only on positives and with the DCM ENVIRONMENT bind variable, on top of the syntax receipts for security integrations, Snowpark package lists, account, external consumer, listing, policy keyword, unnamed user and warehouse cases. 374 not_submitted entries now list a case with a receipt and are removed. Two more now name the double-quoted reserved word listing cases, which still have no receipt. Marks and the syntax baseline are regenerated.
Contributor
Author
|
Cases the sweep stops marking documented, measured on the previous receipts (56 cases, 19 forms). The one positive of these forms,
Every case:
|
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.
Why
When Snowflake refused every documented positive of a form, every observed case of the form was marked documented, intended rejections too, so their receipts were never judged. The DCM ENVIRONMENT hand rows also used an identifier where the docs take a bind variable.
Changes
( ? ). Four of six statements then parse and are no longer documented; two still fail at the configuration arguments."Sweep only" uses main's receipts. None are lost. The parser is unchanged: the added accepted syntax errors are newly receipted cases.
The 56 swept cases in 19 forms: 13 settle reject and the parser agrees, 33 settle reject and the parser accepts, 10 settle accept at the semantic stage. A comment lists them by form.
Verification
make check-ciandmake verify-recordedpass.