OrcLazyObjectInspectorUtils.createLazyObjectInspector(TypeInfoFactory.doubleTypeInfo);
OrcLazyDouble lazyDouble2 = (OrcLazyDouble) doubleOI.copyObject(lazyDouble);
Assert.assertEquals(1.0, ((DoubleWritable) lazyDouble.materialize()).get());
Assert.assertEquals(1.0, ((DoubleWritable) lazyDouble2.materialize()).get());
}
/**
* Tests that after copying a lazy float object, calling materialize on the original and the
* copy doesn't advance the tree reader twice