Commit da66533
authored
Reject unsupported identity transform types (#3517)
<!--
Thanks for opening a pull request!
-->
# Rationale for this change
Per spec[1], the identity transform source type must be any primitive
except for geometry, geography, and variant. This PR rejects
GeographyType and GeometryType as source types for identity
transforms.(No VariantType yet)
[1] https://iceberg.apache.org/spec/#partition-transforms
## Are these changes tested?
Yes
## Are there any user-facing changes?
No1 parent d871cd2 commit da66533
2 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
717 | 719 | | |
718 | 720 | | |
719 | 721 | | |
720 | | - | |
| 722 | + | |
| 723 | + | |
721 | 724 | | |
722 | 725 | | |
723 | 726 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
258 | 265 | | |
259 | 266 | | |
260 | 267 | | |
| |||
0 commit comments