throws RuntimeException, TranslationException, ParseCancellationException
{
// TODO do we actually throw RuntimeException?
Utils.reset();
schema.reset();
SelectStatementEofContext tree = Queries.getQueryTree(sqlQuery);
//TODO this catch code is duplicated in {@link getMultipleRas}
try {
return TranslationVisitor.create(schema).visit(tree);
} catch (WrappedException e) {
//TODO change exceptions thrown