use of io.prestosql.sql.tree.DropRole in project hetu-core by openlookeng.
the class TestSqlParser method testDropRole.
@Test
public void testDropRole() {
assertStatement("DROP ROLE role", new DropRole(new Identifier("role")));
assertStatement("DROP ROLE \"role\"", new DropRole(new Identifier("role")));
assertStatement("DROP ROLE \"ro le\"", new DropRole(new Identifier("ro le")));
assertStatement("DROP ROLE \"!@#$%^&*'ад\"\"мін\"", new DropRole(new Identifier("!@#$%^&*'ад\"мін")));
}
Aggregations