presto-verifier/src/main/java/io/prestosql/verifier/QueryPairMapper.java/QueryPairMapper/map
class QueryPairMapper:    @Override
    public QueryPair map(ResultSet resultSet, StatementContext context)
            throws SQLException
    {
        Map<String, String> sessionProperties = ImmutableMap.of();
        String json = resultSet.getString("session_properties_json");
        if (json != null) {
            sessionProperties = propertiesJsonCodec.fromJson(json);
        }

        return new QueryPair(
                resultSet.getString("suite"),
                resultSet.getString("name"),
                new Query(resultSet.getString("test_catalog"), resultSet.getString("test_schema"), fromJsonString(resultSet.getString("test_prequeries")), resultSet.getString("test_query"),
                        fromJsonString(resultSet.getString("test_postqueries")),
                        resultSet.getString("test_username"), resultSet.getString("test_password"), sessionProperties),
                new Query(resultSet.getString("control_catalog"), resultSet.getString("control_schema"), fromJsonString(resultSet.getString("control_prequeries")), resultSet.getString("control_query"),
                        fromJsonString(resultSet.getString("control_postqueries")),
                        resultSet.getString("control_username"), resultSet.getString("control_password"), sessionProperties));
    }