@Testpublic voidwriteLine2() throws IOException {
String[] lines= new String[]{"1,a,aa", "2,b,bb", "3,c,cc", "4,d,dd", "1,a,aa", "2,b,bb", "3,c,cc", "4,d,dd", "1,a,aa", "2,b,bb", "3,c,cc", "4,d,dd", "1,a,aa", "2,b,bb", "3,c,cc", "4,d,dd"};//String[] lines = new String[]{"1,2,4", "1,2,3", "1,2,3", "1,2,3", "1,2,3", "1,2,3", "1,2,3", "1,2,3"};
Configuration conf= newConfiguration();
TypeDescription schema= TypeDescription.fromString("struct");//TypeDescription schema = TypeDescription.fromString("struct");
Writer writer = OrcFile.createWriter(new Path("/tmp/Orc.orc"),
OrcFile.writerOptions(conf)
.setSchema(schema).overwrite(true));
VectorizedRo