Commit d8d980b
authored
fix(arrow-array): disallow creating
# Which issue does this PR close?
- Closes #10268
# Rationale for this change
we should be unable to create invalid MapArray according to the spec
# What changes are included in this PR?
added validation that key field is not nullable
# Are these changes tested?
yes
# Are there any user-facing changes?
yes, it will now fail for nullable key fieldMapArray with nullable key field (#10272)1 parent 8205c54 commit d8d980b
4 files changed
Lines changed: 392 additions & 33 deletions
File tree
- arrow-array/src/array
- arrow-data/src
- arrow-ipc/src
- arrow-row/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
112 | 123 | | |
113 | 124 | | |
114 | 125 | | |
| |||
931 | 942 | | |
932 | 943 | | |
933 | 944 | | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
934 | 966 | | |
935 | 967 | | |
936 | 968 | | |
| |||
0 commit comments