You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…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: #35733
Authored-by: Gang Wu <ustcwg@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
Currently the IntervalMonthDayNanoVector constructor does not set minor type correctly as below:
Component(s)
Java
The text was updated successfully, but these errors were encountered: