presto-main/src/main/java/io/prestosql/execution/QueryPreparer.java/QueryPreparer/prepareQuery
class QueryPreparer:    public PreparedQuery prepareQuery(Session session, String query)
            throws ParsingException, PrestoException
    {
        Statement wrappedStatement = sqlParser.createStatement(query, createParsingOptions(session));
        return prepareQuery(session, wrappedStatement);
    }