@JsonProperty
    public URI getUri()
    {
        return uri;
    }
@Test
    public void testQueryDividedIntoSplitsShouldHaveCorrectSpacingBetweenTimes()
    {
        Instant now = LocalDateTime.of(2019, 10, 2, 7, 26, 56, 0).toInstant(UTC);
        PrometheusConnectorConfig config = getCommonConfig(prometheusHttpServer.resolve("/prometheus-data/prometheus-metrics.json"));
        PrometheusClient client = new PrometheusClient(config, METRIC_CODEC, TYPE_MANAGER);
        PrometheusTable table = client.getTable("default", "up");
        PrometheusTableHandle tableHandle = new PrometheusTableHandle("default", table.getName());
        TupleDomain<ColumnHandle> columnConstraints = TupleDomain.withColumnDomains(
                ImmutableMap.of(
                        new PrometheusColumnHandle("value", BIGINT, 1), Domain.all(VARCHAR),
                        new PrometheusColumnHandle("text", createUnboundedVarcharType(), 0), Domain.all(VARCHAR)));
        PrometheusTableLayoutHandle tableLayoutHandle = new PrometheusTableLayoutHandle(tableHandle, columnConstraints);
        PrometheusSplitManager splitManager = new PrometheusSplitManager(client, fixedClockAt(now), config);
        ConnectorSplitSource splits = splitManager.getSplits(
                null,
                null,
                tableLayoutHandle,
                null);
        PrometheusSplit split1 = (PrometheusSplit) splits.getNextBatch(NOT_PARTITIONED, 1).getNow(null).getSplits().get(0);
        Map<String, String> paramsMap1 = new HashMap<>();
        String[] splitKV1 = split1.getUri().getQuery().split("&");
        paramsMap1.put("query", splitKV1[0].split("=")[1]);
        paramsMap1.put("time", splitKV1[1].split("=")[1]);
        assertEquals(paramsMap1.get("query"), "up[1d]");

        PrometheusSplit split2 = (PrometheusSplit) splits.getNextBatch(NOT_PARTITIONED, 1).getNow(null).getSplits().get(0);
        Map<String, String> paramsMap2 = new HashMap<>();
        String[] splitKV2 = split2.getUri().getQuery().split("&");
        paramsMap2.put("query", splitKV2[0].split("=")[1]);
        paramsMap2.put("time", splitKV2[1].split("=")[1]);
        assertEquals(paramsMap2.get("query"), "up[1d]");
        long diff = Double.valueOf(paramsMap2.get("time")).longValue() - Double.valueOf(paramsMap1.get("time")).longValue();
        assertEquals(config.getQueryChunkSizeDuration().getValue(TimeUnit.SECONDS), diff, 0.0001);
    }