OrcLazyObjectInspectorUtils.createLazyObjectInspector(TypeInfoFactory.intTypeInfo);
OrcLazyInt lazyInt2 = (OrcLazyInt) intOI.copyObject(lazyInt);
Assert.assertEquals(1, ((IntWritable) lazyInt.materialize()).get());
Assert.assertEquals(1, ((IntWritable) lazyInt2.materialize()).get());
}
/**
* Tests that after copying a lazy long object, calling materialize on the original and the
* copy doesn't advance the tree reader twice