@Test
public void testGetRows() throws Exception {

    MacroBaseConf conf = new MacroBaseConf();
    conf.set(MacroBaseConf.CSV_INPUT_FILE, "src/test/resources/data/simple.csv");
    conf.set(MacroBaseConf.ATTRIBUTES, Lists.newArrayList("A2","A5"));
    conf.set(MacroBaseConf.METRICS, Lists.newArrayList("A1","A3","A4"));
    conf.set(MacroBaseConf.BASE_QUERY, "csv:///src/test/resources/data/simple.csv");
    CSVIngester ingester = new CSVIngester(conf);
    Map<String, String> preds = new HashMap<>();
    preds.put("A2", "1");
    RowSet rs = ingester.getRows(conf.getString(MacroBaseConf.BASE_QUERY),
            preds,
            10,
            0);
    assertEquals(1, rs.getRows().size());
    System.out.println(rs);
}