Commit 6b473cb
GH-40719: [Go] Make
### Rationale for this change
Currently creating a record with a `null` type via `new(arrow.NullType)` in the schema will fail the schema validation.
### What changes are included in this PR?
Made `arrow.Null` a non-null value instead of just a declaration.
### Are these changes tested?
Yes, see cd4253a24e6d828128fbb7854da3c37951d74885
### Are there any user-facing changes?
`arrow.Null` became non-null, but the type is the same.
* GitHub Issue: #40719
Authored-by: Alex Shcherbakov <candiduslynx@users.noreply.github.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>arrow.Null non-null for arrow.TypeEqual to work properly with new(arrow.NullType) (#40802)1 parent 24dbe8d commit 6b473cb
2 files changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
0 commit comments