<p dir="auto">query like this not work now!</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
    &quot;queryType&quot;: &quot;select&quot;,
    &quot;dataSource&quot;: &quot;ZhuanYeFanyi&quot;,
    &quot;granularity&quot;: &quot;all&quot;,
    &quot;dimensions&quot;: [],
    &quot;metrics&quot;: [],
    &quot;intervals&quot;: [
        &quot;2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00&quot;
    ],
    &quot;pagingSpec&quot;: {
        &quot;pagingIdentifiers&quot;: {},
        &quot;threshold&quot;: 1
    }
}"><pre class="notranslate"><code class="notranslate">{
    "queryType": "select",
    "dataSource": "ZhuanYeFanyi",
    "granularity": "all",
    "dimensions": [],
    "metrics": [],
    "intervals": [
        "2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00"
    ],
    "pagingSpec": {
        "pagingIdentifiers": {},
        "threshold": 1
    }
}
</code></pre></div>
<p dir="auto">error message:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input: expected close marker for OBJECT (from [Source: java.io.SequenceInputStream@663e37b8; line: -1, column: -1]) at [Source: java.io.SequenceInputStream@663e37b8; line: -1, column: 2104] (through reference chain: java.util.ArrayList[0])"><pre class="notranslate"><code class="notranslate">com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input: expected close marker for OBJECT (from [Source: java.io.SequenceInputStream@663e37b8; line: -1, column: -1]) at [Source: java.io.SequenceInputStream@663e37b8; line: -1, column: 2104] (through reference chain: java.util.ArrayList[0])
</code></pre></div>
<p dir="auto">if I use this query, no error shown.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
    &quot;queryType&quot;: &quot;select&quot;,
    &quot;dataSource&quot;: &quot;ZhuanYeFanyi&quot;,
    &quot;granularity&quot;: &quot;all&quot;,
    &quot;dimensions&quot;: [&quot;a&quot;],
    &quot;metrics&quot;: [&quot;b&quot;],
    &quot;intervals&quot;: [
        &quot;2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00&quot;
    ],
    &quot;pagingSpec&quot;: {
        &quot;pagingIdentifiers&quot;: {},
        &quot;threshold&quot;: 1
    }
}"><pre class="notranslate"><code class="notranslate">{
    "queryType": "select",
    "dataSource": "ZhuanYeFanyi",
    "granularity": "all",
    "dimensions": ["a"],
    "metrics": ["b"],
    "intervals": [
        "2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00"
    ],
    "pagingSpec": {
        "pagingIdentifiers": {},
        "threshold": 1
    }
}
</code></pre></div>
<p dir="auto">When ingestion</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
       &quot;type&quot;: &quot;thetaSketch&quot;,
       &quot;name&quot;: &quot;userid_sketch&quot;,
       &quot;fieldName&quot;: &quot;userid&quot;
}"><pre class="notranslate"><code class="notranslate">{
       "type": "thetaSketch",
       "name": "userid_sketch",
       "fieldName": "userid"
}
</code></pre></div>
<p dir="auto">when you issue such query</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
    &quot;queryType&quot;: &quot;select&quot;,
    &quot;dataSource&quot;: &quot;mysource&quot;,
    &quot;granularity&quot;: &quot;all&quot;,
    &quot;dimensions&quot;: [
        &quot;my_dimension&quot;
    ],
    &quot;metrics&quot;: [
        &quot;userid_sketch&quot;  #not allowed
    ],
    &quot;intervals&quot;: [
        &quot;2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00&quot;
    ],
    &quot;pagingSpec&quot;: {
        &quot;pagingIdentifiers&quot;: {},
        &quot;threshold&quot;: 100
    }
}"><pre class="notranslate"><code class="notranslate">{
    "queryType": "select",
    "dataSource": "mysource",
    "granularity": "all",
    "dimensions": [
        "my_dimension"
    ],
    "metrics": [
        "userid_sketch"  #not allowed
    ],
    "intervals": [
        "2015-12-26T00:00:00+08:00/2015-12-31T00:00:00+08:00"
    ],
    "pagingSpec": {
        "pagingIdentifiers": {},
        "threshold": 100
    }
}
</code></pre></div>
<p dir="auto">you get error message like:<br>
com.fasterxml.jackson.databind.JsonMappingException: Unexpected end-of-input: expected close marker for OBJECT (from [Source: java.io.SequenceInputStream@9d71041; line: -1, column: -1]) at [Source: java.io.SequenceInputStream@9d71041; line: -1, column: 2410](through reference chain: java.util.ArrayList[0])</p>