Commit ea9d85e
Task LAV-1788: CREATE/ALTER ROLE ... COMMENT round-trips through SHOW ROLES (apache#2265)
* Task LAV-1788: CREATE/ALTER ROLE COMMENT round-trips through SHOW ROLES
Parse Snowflake CREATE ROLE ... COMMENT = '...', thread the comment
through the create_role UDF, and add the is_from_organization_user_group
column (11th) to SHOW ROLES plus a SHOW TERSE ROLES projection.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1788: assert full 11-column SHOW ROLES in create-role-comment test
The new test stripped is_from_organization_user_group with a stale
'emulator omits' comment, papering over the very column this task adds
(the emulator does emit it — see test_show_roles). Drop the strip and
assert the column (constant 'N') across the round-trip instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1788: waive test_rbac re-record; verified is_inherited drift
* Task LAV-1788: assert 11-column SHOW ROLES in rename/unset/limit tests
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1788: respect INITIALIZE=ON_SCHEDULE in dynamic-table scheduler
The refresh scheduler treated any never-refreshed ACTIVE dynamic table as
immediately due, refreshing ON_SCHEDULE tables on the next poll tick despite
their create-time contract (created empty until the first scheduled refresh).
test_dynamic_tables_never_refreshed raced this poll and flaked under parallel
load. Anchor a never-refreshed ON_SCHEDULE table's first due time at
created_at + TARGET_LAG; other never-refreshed tables stay due immediately.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent cd73989 commit ea9d85e
3 files changed
Lines changed: 56 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
402 | 404 | | |
403 | 405 | | |
404 | 406 | | |
| |||
474 | 476 | | |
475 | 477 | | |
476 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
477 | 482 | | |
478 | 483 | | |
479 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7395 | 7395 | | |
7396 | 7396 | | |
7397 | 7397 | | |
7398 | | - | |
7399 | | - | |
7400 | | - | |
7401 | | - | |
| 7398 | + | |
| 7399 | + | |
| 7400 | + | |
| 7401 | + | |
| 7402 | + | |
7402 | 7403 | | |
7403 | | - | |
7404 | | - | |
7405 | | - | |
7406 | | - | |
7407 | | - | |
7408 | | - | |
| 7404 | + | |
| 7405 | + | |
| 7406 | + | |
| 7407 | + | |
| 7408 | + | |
| 7409 | + | |
| 7410 | + | |
| 7411 | + | |
| 7412 | + | |
| 7413 | + | |
| 7414 | + | |
| 7415 | + | |
| 7416 | + | |
| 7417 | + | |
| 7418 | + | |
| 7419 | + | |
7409 | 7420 | | |
7410 | 7421 | | |
7411 | 7422 | | |
| |||
7627 | 7638 | | |
7628 | 7639 | | |
7629 | 7640 | | |
| 7641 | + | |
7630 | 7642 | | |
7631 | 7643 | | |
7632 | 7644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5156 | 5156 | | |
5157 | 5157 | | |
5158 | 5158 | | |
| 5159 | + | |
| 5160 | + | |
| 5161 | + | |
| 5162 | + | |
| 5163 | + | |
| 5164 | + | |
| 5165 | + | |
| 5166 | + | |
| 5167 | + | |
| 5168 | + | |
| 5169 | + | |
| 5170 | + | |
| 5171 | + | |
| 5172 | + | |
| 5173 | + | |
| 5174 | + | |
| 5175 | + | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
| 5179 | + | |
| 5180 | + | |
| 5181 | + | |
| 5182 | + | |
| 5183 | + | |
| 5184 | + | |
| 5185 | + | |
| 5186 | + | |
| 5187 | + | |
5159 | 5188 | | |
5160 | 5189 | | |
5161 | 5190 | | |
| |||
0 commit comments