Commit 9017582
authored
fix: set table type to external for glue (#6386)
# Description
- Set table type as external for Glue tables
## Linear Ticket
- Resolves WAR-1177
## Security
- [x] The code changed/added as part of this pull request won't create
any security issues with how the software is being used.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Ensure AWS Glue tables are created and updated as EXTERNAL_TABLE, with
tests asserting the table type.
>
> - **Glue schema repository**:
> - Set `TableType` to `EXTERNAL_TABLE` in `CreateTable` and
`updateTable`.
> - **Tests**:
> - Assert created table `TableType` is `EXTERNAL_TABLE`.
> - Add missing `require.NoError` after `AddColumns`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
e00eb99. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 502d2b0 commit 9017582
File tree
2 files changed
+13
-1
lines changed- warehouse/integrations/datalake/schema-repository
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
271 | 273 | | |
272 | 274 | | |
273 | 275 | | |
274 | | - | |
| 276 | + | |
| 277 | + | |
275 | 278 | | |
276 | 279 | | |
277 | 280 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
145 | 153 | | |
146 | 154 | | |
147 | 155 | | |
| |||
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| 165 | + | |
157 | 166 | | |
158 | 167 | | |
159 | 168 | | |
| |||
0 commit comments