Commit 476855f
committed
dcm-migrate: address PR #20 review feedback and add qualifier fixes
- Align degraded-lookup rows to status=WARNING (semantic view, schema,
procedure/function language lookups) to match the documented contract.
- Add identifier validation and safe quoting for dynamic SQL; all
generated DDL and FQNs now use fully quoted "DB"."SCHEMA"."NAME" form.
- Aggregate grant-collector failures into one WARNING row per schema
instead of silently swallowing the exception.
- Two-pass fqn_expand: Pass 1 expands SCHEMA.OBJECT cross-schema
references to fully qualified form; Pass 2 expands bare same-schema
names.
- Pass TRUE to all GET_DDL calls (the callable branch was missing it).
- SKILL: fetch account_identifier from the current session
(CURRENT_ORGANIZATION_NAME || '-' || CURRENT_ACCOUNT_NAME) before
writing manifest.yml, and substitute it for the DEV target.1 parent 88b03a2 commit 476855f
3 files changed
Lines changed: 35 additions & 3 deletions
File tree
- migration-tools
- Cortex_Code_Skill/dcm-migrate
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
178 | | - | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
185 | 190 | | |
186 | 191 | | |
187 | 192 | | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
| |||
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| 206 | + | |
200 | 207 | | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
110 | 122 | | |
111 | 123 | | |
112 | 124 | | |
| |||
538 | 550 | | |
539 | 551 | | |
540 | 552 | | |
541 | | - | |
| 553 | + | |
542 | 554 | | |
543 | 555 | | |
544 | 556 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
392 | 404 | | |
393 | 405 | | |
394 | 406 | | |
| |||
523 | 535 | | |
524 | 536 | | |
525 | 537 | | |
526 | | - | |
| 538 | + | |
527 | 539 | | |
528 | 540 | | |
529 | 541 | | |
| |||
0 commit comments