@Test
  public void test001Execute() {
    CacheUtils.log("testExecute");
    try {
      Region region = CacheUtils.createRegion("Portfolios", Portfolio.class);
      region.put("1", new Portfolio(1));
      region.put("2", new Portfolio(0));
      String queryStr = "SELECT DISTINCT * FROM " + SEPARATOR + "Portfolios";
      Query q = CacheUtils.getQueryService().newQuery(queryStr);
      SelectResults results = (SelectResults) q.execute();
      assertEquals(results.size(), 2);
    } catch (Exception e) {
      e.printStackTrace();
      fail("Exception during Query.execute");
    }
  }
***
THIS FILE IS ENCODED IN UTF-8 IN ORDER TO TEST UNICODE IN FIELD NAMES. THE ENCODING MUST BE
SPECIFIED AS UTF-8 WHEN COMPILED
*****
geode-core/src/integrationTest/java/org/apache/geode/cache/query/QueryJUnitTest.java