@Test
public void testStatsActionWithoutNestingNonNumericField() throws FoxtrotException {

    StatsRequest request = new StatsRequest();
    request.setTable(TestUtils.TEST_TABLE_NAME);
    request.setField("os");
    request.setFilters(Collections.singletonList(new EqualsFilter("os", "android")));
    StatsResponse statsResponse = StatsResponse.class.cast(getQueryExecutor().execute(request));
    assertNotNull(statsResponse);
    assertNotNull(statsResponse.getResult());
    assertEquals(2, statsResponse.getResult()
            .getStats()
            .get("count")
            .intValue());
    assertNull(statsResponse.getBuckets());
    assertNull(statsResponse.getResult().getPercentiles());
}