throws Exception
{
ClientOptions options = new ClientOptions();
ClientSession session = options.toClientSession();
SqlParser sqlParser = new SqlParser();
session = Console.processSessionParameterChange(sqlParser.createStatement("USE CATALOG test_catalog"), session);
assertEquals(session.getCatalog(), "test_catalog");
session = Console.processSessionParameterChange(sqlParser.createStatement("USE SCHEMA test_schema"), session);
assertEquals(session.getSchema(), "test_schema");
}
}