final JsonDataContext dc = new JsonDataContext(new File("src/test/resources/documents_on_every_line.json"));
runParseabilityTest(dc);
}
public void testUseAnotherSchemaBuilder() throws Exception {
final SchemaBuilder schemaBuilder = new SingleMapColumnSchemaBuilder("sch", "tbl", "cl");
final JsonDataContext dc = new JsonDataContext(new FileResource(
"src/test/resources/documents_on_every_line.json"), schemaBuilder);
final Table table = dc.getDefaultSchema().getTable(0);
assertEquals("tbl", table.getName());