@Test
public void testVectorForEdgeCases() {

    BufferAllocator allocator = new RootAllocator(Long.MAX_VALUE);
    val vector = ArrowConverter.vectorFor(allocator,"field1",new float[]{Float.MIN_VALUE,Float.MAX_VALUE});
    assertEquals(Float.MIN_VALUE,vector.get(0),1e-2);
    assertEquals(Float.MAX_VALUE,vector.get(1),1e-2);
    val vectorInt = ArrowConverter.vectorFor(allocator,"field1",new int[]{Integer.MIN_VALUE,Integer.MAX_VALUE});
    assertEquals(Integer.MIN_VALUE,vectorInt.get(0),1e-2);
    assertEquals(Integer.MAX_VALUE,vectorInt.get(1),1e-2);
}