Commit 513376c
authored
feat: support arrow dictionary in schema conversion (#1293)
## Which issue does this PR close?
- Closes #1277
## What changes are included in this PR?
An expansion to the current schema conversion for arrow to an iceberg
schema.
This uses the suggestion provided by @alamb
([here](#1277 (comment)))
for the schema conversion work.
## Are these changes tested?
The current test for schema conversion has been expanded.
I've also taken the liberty of altering the `assert_eq!` call to use the
`pretty_assertions` version, as it makes viewing the failure much
simpler with a large JSON structure - I can revert this though if it is
problematic.1 parent b4bc6dd commit 513376c
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
1029 | 1030 | | |
1030 | 1031 | | |
1031 | 1032 | | |
| 1033 | + | |
1032 | 1034 | | |
1033 | 1035 | | |
1034 | 1036 | | |
| |||
1108 | 1110 | | |
1109 | 1111 | | |
1110 | 1112 | | |
| 1113 | + | |
1111 | 1114 | | |
1112 | 1115 | | |
1113 | 1116 | | |
| |||
1285 | 1288 | | |
1286 | 1289 | | |
1287 | 1290 | | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
1288 | 1297 | | |
1289 | 1298 | | |
1290 | 1299 | | |
| |||
1299 | 1308 | | |
1300 | 1309 | | |
1301 | 1310 | | |
1302 | | - | |
| 1311 | + | |
1303 | 1312 | | |
1304 | 1313 | | |
1305 | 1314 | | |
| |||
0 commit comments