presto-verifier/src/main/java/io/prestosql/verifier/VerifyCommand.java/VerifyCommand/statementToQueryType
class VerifyCommand:    static QueryType statementToQueryType(SqlParser parser, String sql)
    {
        try {
            return statementToQueryType(parser.createStatement(sql, new ParsingOptions(AS_DOUBLE /* anything */)));
        }
        catch (RuntimeException e) {
            throw new UnsupportedOperationException();
        }
    }