"CREATE TABLE t1(id INT NOT NULL PRIMARY KEY, t TIMESTAMP, n INT DEFAULT 100, s VARCHAR(128))";
@Test
public void reader() throws Exception {
SchemaFactory schemaFactory = new SchemaFactory("test");
AkibanInformationSchema ais = schemaFactory.aisWithRowDefs(DDL);
Table t1 = ais.getTable("test", "t1");
InputStream istr = new ByteArrayInputStream(Strings.join(CSV).getBytes("UTF-8"));
List<Column> columns = new ArrayList<>(3);
for (String cname : CSV[0].split(","))
columns.add(t1.getColumn(cname));