@Override
      public void run2() throws CacheException {

        Cache cache = getCache();
        // Querying the PR region with an Invalid query string

        Region region = cache.getRegion(regionName);
        try {

          String query = "INVALID QUERY";
          region.query(query);
          fail(
              "PRQueryDUnitHelper#getCacheSerializableRunnableForPRInvalidQuery: InvalidQueryException expected");
        } catch (QueryInvalidException e) {
          // pass
        } catch (QueryException qe) {

          LogWriterUtils.getLogWriter().error(
              "PRQueryDUnitHelper#getCacheSerializableRunnableForPRInvalidQuery: Caught another Exception while querying , Exception is "
                  + qe,
              qe);
          fail(
              "PRQueryDUnitHelper#getCacheSerializableRunnableForPRInvalidQuery: Caught another Exception while querying , Exception is "
                  + qe);

        }
      }
This function <br>
1. Creates & executes a query with Logical Operators on the given PR Region 2. Executes the
same query on the local region <br>
3. Compares the appropriate resultSet <br>



@return cacheSerializable object
geode-core/src/distributedTest/java/org/apache/geode/cache/query/partitioned/PRQueryDUnitHelper.java