use of com.facebook.presto.sql.tree.ShowRoleGrants in project presto by prestodb.
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