forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-35733: [Java] Fix minor type in IntervalMonthDayNanoVector c…
…tor (apache#35734) ### Rationale for this change The constructor of IntervalMonthDayNanoVector does not set minor type correctly. ```java public IntervalMonthDayNanoVector(String name, BufferAllocator allocator) { this(name, FieldType.nullable(MinorType.INTERVALDAY.getType()), allocator); } ``` It should be `MinorType.INTERVALMONTHDAYNANO`. ### What changes are included in this PR? Change it to set `MinorType.INTERVALMONTHDAYNANO`. ### Are these changes tested? Added test to verify vector type. ### Are there any user-facing changes? No. * Closes: apache#35733 Authored-by: Gang Wu <ustcwg@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters