use of io.prestosql.sql.tree.ShowRoleGrants in project hetu-core by openlookeng.
the class TestSqlParser method testShowRoleGrants.
@Test
public void testShowRoleGrants() {
assertStatement("SHOW ROLE GRANTS", new ShowRoleGrants(Optional.empty(), Optional.empty()));
assertStatement("SHOW ROLE GRANTS FROM catalog", new ShowRoleGrants(Optional.of(new Identifier("catalog"))));
}
Aggregations