Commit 31f40e8
Task LAV-1720:
* task LAV-1720: WIP — commit stranded agent work
* Task LAV-1720: create-time EAI/SECRETS validation + read-surface wiring (WIP)
Implements the EXTERNAL_ACCESS_INTEGRATIONS / SECRETS create-time validator
(__snowflake$validate_udf_external_access), XSFD5-8 error mappings, GET_DDL
separator fix, and wires validation into the function + Python-procedure create
paths. Blocked on the SHOW USER FUNCTIONS is_ai_function shared-shape decision
(see Linear).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1720: EXTERNAL_ACCESS_INTEGRATIONS / SECRETS on CREATE FUNCTION/PROCEDURE
Parse both clauses on CREATE FUNCTION and (via the PROCEDURE->FUNCTION rewrite)
CREATE PROCEDURE, store them structured, validate at create time against live
integrations/secrets with real-Snowflake errors, and project them on SHOW,
INFORMATION_SCHEMA and GET_DDL.
Real-Snowflake finding: a SECRETS clause with no EXTERNAL_ACCESS_INTEGRATIONS is
accepted (there is no integration to gate it against), so the allow check only
fires when integrations are referenced.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1720: validate EAI/SECRETS on LANGUAGE JAVA create path
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>EXTERNAL_ACCESS_INTEGRATIONS / SECRETS on CREATE FUNCTION and CREATE PROCEDURE, incl. the SHOW and INFORMATION_SCHEMA columns (apache#2254)1 parent 5e6fcdd commit 31f40e8
2 files changed
Lines changed: 58 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6449 | 6449 | | |
6450 | 6450 | | |
6451 | 6451 | | |
6452 | | - | |
6453 | | - | |
| 6452 | + | |
| 6453 | + | |
| 6454 | + | |
6454 | 6455 | | |
6455 | 6456 | | |
6456 | 6457 | | |
6457 | 6458 | | |
6458 | 6459 | | |
6459 | | - | |
| 6460 | + | |
| 6461 | + | |
| 6462 | + | |
| 6463 | + | |
| 6464 | + | |
| 6465 | + | |
6460 | 6466 | | |
6461 | 6467 | | |
6462 | 6468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6157 | 6157 | | |
6158 | 6158 | | |
6159 | 6159 | | |
| 6160 | + | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
| 6164 | + | |
| 6165 | + | |
| 6166 | + | |
| 6167 | + | |
| 6168 | + | |
| 6169 | + | |
| 6170 | + | |
| 6171 | + | |
| 6172 | + | |
| 6173 | + | |
| 6174 | + | |
| 6175 | + | |
| 6176 | + | |
| 6177 | + | |
| 6178 | + | |
| 6179 | + | |
| 6180 | + | |
| 6181 | + | |
| 6182 | + | |
| 6183 | + | |
| 6184 | + | |
| 6185 | + | |
| 6186 | + | |
| 6187 | + | |
| 6188 | + | |
| 6189 | + | |
| 6190 | + | |
| 6191 | + | |
| 6192 | + | |
| 6193 | + | |
| 6194 | + | |
| 6195 | + | |
| 6196 | + | |
| 6197 | + | |
| 6198 | + | |
| 6199 | + | |
| 6200 | + | |
| 6201 | + | |
| 6202 | + | |
| 6203 | + | |
| 6204 | + | |
| 6205 | + | |
| 6206 | + | |
| 6207 | + | |
| 6208 | + | |
6160 | 6209 | | |
6161 | 6210 | | |
6162 | 6211 | | |
| |||
0 commit comments