@Test
public void contraintPKAdjustedNotNullSeparate() throws StandardException {

    String sql = "CREATE TABLE t1 (c1 int, PRIMARY KEY(c1))";
    makeSeparateAIS();
    dropTable = TableName.create(DEFAULT_SCHEMA, DEFAULT_TABLE);
    builder.table(DEFAULT_SCHEMA, DEFAULT_TABLE);
    builder.column(DEFAULT_SCHEMA, DEFAULT_TABLE, "c1", 0, "MCOMPAT", "int", false, true);
    builder.pk(DEFAULT_SCHEMA, DEFAULT_TABLE);
    builder.indexColumn(DEFAULT_SCHEMA, DEFAULT_TABLE, "PRIMARY", "c1", 0, true, 0);
    builder.basicSchemaIsComplete();
    builder.groupingIsComplete();
    StatementNode stmt = parser.parseStatement(sql);
    assertTrue(stmt instanceof CreateTableNode);
    TableDDL.createTable(ddlFunctions, null, DEFAULT_SCHEMA, (CreateTableNode)stmt, null);
}