SqlNode node =
SqlParser.create("alter system set schema = true").parseStmt();
SqlSetOption opt = (SqlSetOption) node;
assertThat(opt.getScope(), equalTo("SYSTEM"));
assertThat(opt.getName(), equalTo("SCHEMA"));
SqlPrettyWriter writer = new SqlPrettyWriter(SqlDialect.EIGENBASE);
assertThat(writer.format(opt.getValue()), equalTo("TRUE"));
writer = new SqlPrettyWriter(SqlDialect.EIGENBASE);
assertThat(writer.format(opt),
equalTo("ALTER SYSTEM SET \"SCHEMA\" = TRUE"));
check("alter system set \"a number\" = 1",
"ALTER SYSTEM SET `a number` = 1");
check("alter system set flag = false",