Skip to content

Commit 295e2fe

Browse files
committed
chore(syntax-coverage): pin the batch that records numeric operands given a string
Pin the evidence with the receipts for the wrong-kind cases of numeric operands, the remaining SHOW, ALTER and CREATE shapes and the DCM definitions, and refresh the marks they settle. Give the two new SHOW MULTI PARTY APPROVAL POLICIES LIMIT obligations fresh ids instead of the two that the suppressed IN negatives retired, so ids keep their meaning, and point three unobservable records at the integer obligations that replaced theirs.
1 parent 1a22a47 commit 295e2fe

7 files changed

Lines changed: 172 additions & 10 deletions

File tree

‎coverage/syntax/marks/ddl.jsonl‎

Lines changed: 99 additions & 0 deletions
Large diffs are not rendered by default.

‎coverage/syntax/marks/dml.jsonl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@
119119
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kc9d280b9a2a7","mark":"settled accept","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o445"],"sql_sha256":"c9d280b9a2a75a0e1a5c25af1791c3f22a2081c014e22f72cddf73848bb664bc"}
120120
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kcff769f2485e","mark":"settled reject","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o699"],"sql_sha256":"cff769f2485e905b05f7555bd53d3bd70f97285e3c617a4c71fe0b0e88e7d7e1"}
121121
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kd081e8895726","mark":"settled accept","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o104"],"sql_sha256":"d081e8895726509e794b7f7b94f6d58847a30e097e53705f16d19d516e290bf2"}
122+
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kd1e18ff2d9a8","mark":"settled accept","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o727"],"sql_sha256":"d1e18ff2d9a888e1a173bc7f8e4576b459ee6fea3207709fc8f9949495ac0677"}
122123
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kd37c018f9cde","mark":"settled accept","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o707"],"sql_sha256":"d37c018f9cdea4087e2984911ed68d11ba2111d2708c41d237a25edd6bb695be"}
123124
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kd78c8f892a15","mark":"settled accept","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o100"],"sql_sha256":"d78c8f892a156f6b1e51218b578b4972df1fc9d338db1e0822a47684aaef970d"}
124125
{"case_id":"sf.dml.copy-into-table.internalstage-externalstage-externallocation.kd9524c95ea90","mark":"settled reject","obligations":["sf.dml.copy-into-table.internalstage-externalstage-externallocation.o718"],"sql_sha256":"d9524c95ea900f1fcb46a4c2751e41d0cd31dfcb00b74ece3568e4f2112c7fbe"}
@@ -161,6 +162,7 @@
161162
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.k9d06b67a0d97","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o236"],"sql_sha256":"9d06b67a0d97128c3aa5c95ca2a67b3a5e06f21a750b5c94b7c392488fff2f98"}
162163
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.ka259f8b8715f","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o607"],"sql_sha256":"a259f8b8715f6428ef31169e58796daf746094223f970dbe304f581108196b1d"}
163164
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.ka31a1b5f1770","mark":"settled reject","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o528"],"sql_sha256":"a31a1b5f177076f664576e8c89afc05718acf38fa4222a9a278c1b3fe7926939"}
165+
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.kaa2ffe8f4311","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o627"],"sql_sha256":"aa2ffe8f43117635fceafa81c0f59a29c9827dd6eb130fc98c06d91f560d1743"}
164166
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.kbdf57d7effe0","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o608"],"sql_sha256":"bdf57d7effe06e1840982b3779d63f7f0310388c24bd061791a52d80c432e7d3"}
165167
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.kda4b718c8c92","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o037"],"sql_sha256":"da4b718c8c92666a310b0170b8ecaea11a2c1cf95ba139ed9f2f42cb2174ca4e"}
166168
{"case_id":"sf.dml.copy-into-table.select-from-internalstage-externalstage.ke15afaa645cd","mark":"settled accept","obligations":["sf.dml.copy-into-table.select-from-internalstage-externalstage.o147"],"sql_sha256":"e15afaa645cdd93df1295e296f7c4c7da6a11a8cc4d1ddfde23b244079d16751"}

‎coverage/syntax/marks/security_admin.jsonl‎

Lines changed: 61 additions & 0 deletions
Large diffs are not rendered by default.

‎coverage/syntax/obligations/security_admin.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136730,14 +136730,14 @@ target = "<rows> in [ LIMIT <rows> ]"
136730136730
note = "omit <rows>"
136731136731

136732136732
[[obligation]]
136733-
id = "sf.security_admin.show-multi-party-approval-policies.policies.o041"
136733+
id = "sf.security_admin.show-multi-party-approval-policies.policies.o043"
136734136734
kind = "operand_type_class"
136735136735
required = true
136736136736
target = "<rows> in [ LIMIT <rows> ]"
136737136737
note = "a valid integer_literal"
136738136738

136739136739
[[obligation]]
136740-
id = "sf.security_admin.show-multi-party-approval-policies.policies.o042"
136740+
id = "sf.security_admin.show-multi-party-approval-policies.policies.o044"
136741136741
kind = "negative_neighbour"
136742136742
required = true
136743136743
target = "<rows> in [ LIMIT <rows> ]"

‎coverage/syntax/unobservable/ddl.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3988,9 +3988,9 @@ runs = []
39883988
probes = []
39893989

39903990
[[unobservable]]
3991-
obligation = "sf.ddl.create-openflow-runtime.o028"
3991+
obligation = "sf.ddl.create-openflow-runtime.o080"
39923992
form = "sf.ddl.create-openflow-runtime"
3993-
construct = "a valid operand: CREATE OPENFLOW RUNTIME v1 IN DEPLOYMENT v1 NODE_TYPE = SMALL MIN_NODES = 1 MAX_NODES = 1 EXECUTE_AS_ROLE = v1 ;"
3993+
construct = "a valid integer_literal: CREATE OPENFLOW RUNTIME v1 IN DEPLOYMENT v1 NODE_TYPE = SMALL MIN_NODES = 1 MAX_NODES = 1 EXECUTE_AS_ROLE = v1 ;"
39943994
reason = "not submitted: held by the capture guard in chunk ux-06: CREATE of an account-level or unvetted kind (OPENFLOW RUNTIME v1)"
39953995
cause = "not_submitted"
39963996
cases = [
@@ -4012,9 +4012,9 @@ runs = []
40124012
probes = []
40134013

40144014
[[unobservable]]
4015-
obligation = "sf.ddl.create-openflow-runtime.o030"
4015+
obligation = "sf.ddl.create-openflow-runtime.o082"
40164016
form = "sf.ddl.create-openflow-runtime"
4017-
construct = "a valid operand: CREATE OPENFLOW RUNTIME v1 IN DEPLOYMENT v1 NODE_TYPE = SMALL MIN_NODES = 1 MAX_NODES = 1 EXECUTE_AS_ROLE = v1 ;"
4017+
construct = "a valid integer_literal: CREATE OPENFLOW RUNTIME v1 IN DEPLOYMENT v1 NODE_TYPE = SMALL MIN_NODES = 1 MAX_NODES = 1 EXECUTE_AS_ROLE = v1 ;"
40184018
reason = "not submitted: held by the capture guard in chunk ux-06: CREATE of an account-level or unvetted kind (OPENFLOW RUNTIME v1)"
40194019
cause = "not_submitted"
40204020
cases = [

‎coverage/syntax/unobservable/security_admin.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,9 @@ runs = []
10031003
probes = []
10041004

10051005
[[unobservable]]
1006-
obligation = "sf.security_admin.drop-account.o008"
1006+
obligation = "sf.security_admin.drop-account.o020"
10071007
form = "sf.security_admin.drop-account"
1008-
construct = "a valid operand: DROP ACCOUNT v1 GRACE_PERIOD_IN_DAYS = 1 ;"
1008+
construct = "a valid integer_literal: DROP ACCOUNT v1 GRACE_PERIOD_IN_DAYS = 1 ;"
10091009
reason = "not submitted: held by capture guard f0fdce1 in chunk sa-30: billable or out-of-account: account"
10101010
cause = "not_submitted"
10111011
cases = [

‎evidence.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# The evidence SQLQuack's checks read: one commit of the evidence repository, and the SHA-256 of its files.
22
repository = "https://github.com/sqlstack-io/sqlquack-evidence.git"
3-
commit = "7f110c2b9fbadfab94fa7618cd7f6b6b8955a364"
4-
content_sha256 = "408215e5850c9444e823cff6f3bdb0723499e69d0dddfc23c10700dbc73eaabe"
3+
commit = "1a434cdac986d14431f32fa48210e53606586ebd"
4+
content_sha256 = "e4fd7aeb3914dfae0b996d5529dbf3d4c1f6d7f41c50d618e29cabf18b02c2b4"

0 commit comments

Comments
 (0)