Commit 3bcbf54
Task LAV-1715:
* Task LAV-1715: ALTER SECURITY INTEGRATION remaining SET properties + UNSET
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1715: verify OAUTH NETWORK_POLICY SET/UNSET against real Snowflake
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* Task LAV-1715: fix CI — parse ALTER SECURITY INTEGRATION ... UNSET in the vendored parser
The DDL rewriter matched on an `unset_options` field the vendored
sqlparser's `Statement::AlterSecurityIntegration` never had, so the
workspace didn't compile (E0026) and every CI job failed.
Add `unset_options: Vec<Ident>` to the variant, parse
`{ SET <kv> | UNSET <prop>[, ...] }` instead of requiring `SET`, and
round-trip the `UNSET` form in `Display`. Covered by parser tests in
vendor/sqlparser/tests/ per ADR 081 §6.
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>ALTER SECURITY INTEGRATION: remaining SET properties + UNSET (apache#2226)1 parent 24bc9dd commit 3bcbf54
3 files changed
Lines changed: 127 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5879 | 5879 | | |
5880 | 5880 | | |
5881 | 5881 | | |
5882 | | - | |
| 5882 | + | |
5883 | 5883 | | |
5884 | 5884 | | |
5885 | 5885 | | |
5886 | 5886 | | |
5887 | 5887 | | |
5888 | 5888 | | |
5889 | | - | |
| 5889 | + | |
5890 | 5890 | | |
| 5891 | + | |
| 5892 | + | |
5891 | 5893 | | |
5892 | 5894 | | |
5893 | 5895 | | |
| |||
8777 | 8779 | | |
8778 | 8780 | | |
8779 | 8781 | | |
| 8782 | + | |
8780 | 8783 | | |
8781 | 8784 | | |
8782 | 8785 | | |
8783 | | - | |
| 8786 | + | |
8784 | 8787 | | |
8785 | 8788 | | |
8786 | | - | |
8787 | | - | |
| 8789 | + | |
| 8790 | + | |
| 8791 | + | |
| 8792 | + | |
| 8793 | + | |
| 8794 | + | |
| 8795 | + | |
8788 | 8796 | | |
8789 | 8797 | | |
8790 | 8798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4715 | 4715 | | |
4716 | 4716 | | |
4717 | 4717 | | |
4718 | | - | |
| 4718 | + | |
4719 | 4719 | | |
4720 | | - | |
4721 | | - | |
| 4720 | + | |
| 4721 | + | |
| 4722 | + | |
4722 | 4723 | | |
4723 | 4724 | | |
4724 | 4725 | | |
4725 | | - | |
4726 | | - | |
| 4726 | + | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
| 4731 | + | |
| 4732 | + | |
| 4733 | + | |
| 4734 | + | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
| 4742 | + | |
| 4743 | + | |
4727 | 4744 | | |
4728 | 4745 | | |
4729 | 4746 | | |
4730 | 4747 | | |
| 4748 | + | |
4731 | 4749 | | |
4732 | 4750 | | |
4733 | 4751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9953 | 9953 | | |
9954 | 9954 | | |
9955 | 9955 | | |
| 9956 | + | |
| 9957 | + | |
| 9958 | + | |
| 9959 | + | |
| 9960 | + | |
| 9961 | + | |
| 9962 | + | |
| 9963 | + | |
| 9964 | + | |
| 9965 | + | |
| 9966 | + | |
| 9967 | + | |
| 9968 | + | |
| 9969 | + | |
| 9970 | + | |
| 9971 | + | |
| 9972 | + | |
| 9973 | + | |
| 9974 | + | |
| 9975 | + | |
| 9976 | + | |
| 9977 | + | |
| 9978 | + | |
| 9979 | + | |
| 9980 | + | |
| 9981 | + | |
| 9982 | + | |
| 9983 | + | |
| 9984 | + | |
| 9985 | + | |
| 9986 | + | |
| 9987 | + | |
| 9988 | + | |
| 9989 | + | |
| 9990 | + | |
| 9991 | + | |
| 9992 | + | |
| 9993 | + | |
| 9994 | + | |
| 9995 | + | |
| 9996 | + | |
| 9997 | + | |
| 9998 | + | |
| 9999 | + | |
| 10000 | + | |
| 10001 | + | |
| 10002 | + | |
| 10003 | + | |
| 10004 | + | |
| 10005 | + | |
| 10006 | + | |
| 10007 | + | |
| 10008 | + | |
| 10009 | + | |
| 10010 | + | |
| 10011 | + | |
| 10012 | + | |
| 10013 | + | |
| 10014 | + | |
| 10015 | + | |
| 10016 | + | |
| 10017 | + | |
| 10018 | + | |
| 10019 | + | |
| 10020 | + | |
| 10021 | + | |
| 10022 | + | |
| 10023 | + | |
| 10024 | + | |
| 10025 | + | |
| 10026 | + | |
| 10027 | + | |
| 10028 | + | |
| 10029 | + | |
| 10030 | + | |
| 10031 | + | |
| 10032 | + | |
| 10033 | + | |
| 10034 | + | |
| 10035 | + | |
| 10036 | + | |
| 10037 | + | |
| 10038 | + | |
| 10039 | + | |
| 10040 | + | |
| 10041 | + | |
| 10042 | + | |
| 10043 | + | |
| 10044 | + | |
| 10045 | + | |
| 10046 | + | |
0 commit comments