morphline = createMorphline("test-morphlines/rcFileMorphlineColumn");
String rcFileName = "testRCFileColumnWise.rc";
List<Record> expected = setupRCFile(rcFileName, NUM_RECORDS, NUM_COLUMNS,
false);
Path inputFile = dfs.makeQualified(new Path(testDirectory, rcFileName));
Record input = new Record();
input.put(Fields.ATTACHMENT_NAME, inputFile.toString());
input.put(Fields.ATTACHMENT_BODY, readPath(inputFile));
startSession();
assertEquals(1, collector.getNumStartEvents());
assertTrue(morphline.process(input));
assertTrue(areFieldsEqual(expected, collector.getRecords(), NUM_COLUMNS,
NUM_RECORDS, false));