@Test
public void columnDefaultsArePreserved() throws StandardException {

    final String DEFAULT_C1 = "50";
    final String DEFAULT_C2 = "ban ana";
    makeSeparateAIS();
    dropTable = TableName.create(DEFAULT_SCHEMA, DEFAULT_TABLE);
    builder.table(DEFAULT_SCHEMA, DEFAULT_TABLE);
    builder.column(DEFAULT_SCHEMA, DEFAULT_TABLE, "c1", 0, "MCOMPAT", "int", null, null, true, DEFAULT_C1, null);
    builder.column(DEFAULT_SCHEMA, DEFAULT_TABLE, "c2", 1, "MCOMPAT", "varchar", 32L, null, true, DEFAULT_C2, null);
    builder.basicSchemaIsComplete();
    builder.groupingIsComplete();
    String sql = String.format("CREATE TABLE t1 (c1 INT DEFAULT %s, c2 VARCHAR(32) DEFAULT '%s')",
                               DEFAULT_C1, DEFAULT_C2);
    StatementNode stmt = parser.parseStatement(sql);
    assertTrue (stmt instanceof CreateTableNode);
    TableDDL.createTable(ddlFunctions, null, DEFAULT_SCHEMA, (CreateTableNode)stmt, null);
}