public class TestSchemaRecord {
@Test
public void testSchemaValid1() throws ParseException {
String strSch = "r1:record(f1:int, f2:int), r2:record(r3:record(f3:float, f4))";
TableSchemaParser parser;
Schema schema;
parser = new TableSchemaParser(new StringReader(strSch));
schema = parser.RecordSchema(null);
System.out.println(schema);
// test 1st level schema;
ColumnSchema f1 = schema.getColumn(0);
Assert.assertEquals("r1", f1.name);