ashukhira opened a new issue #6025: Druid Query Error
URL: https://github.com/apache/incubator-druid/issues/6025
 
 
   Run below query by curl call that connect to druid broker, getting error:--
   
   curl -X POST "http://localhost:8082/druid/v2/?pretty"; -H 'content-type: 
pplication/json' -d'{"aggregations": [{"fieldName": "impressions","fieldNames": 
["impressions"],"name": "SUM(impressions)","type": "doubleSum"}],"dataSource": 
"vmaxmediation","dimensions": ["adpartner_id", "adspot_format"],"granularity": 
"all","intervals": 
"2018-07-13T00:00:00+00:00/2018-07-20T13:48:22+00:00","limitSpec": {"columns": 
[{"dimension": {"aggregate": "SUM","column": {"column_name": 
"impressions","description": null,"expression": null,"filterable": 
false,"groupby": false,"is_dttm": null,"optionName": "_col_impressions","type": 
"doubleSum","verbose_name": null},"expressionType": "SIMPLE","fromFormData": 
false,"hasCustomLabel": false,"label": "SUM(impressions)","optionName": 
"metric_6nkhk39wj0j_ym12qdvuhqa","sqlExpression": null},"direction": 
"descending"}],"limit": 10000,"type": "default"},"postAggregations": 
[],"queryType": "groupBy"}'
   
   error:--
   {
   "error" : "Unknown exception",
   "errorMessage" : "Can not deserialize instance of java.lang.String out of 
START_OBJECT token\n at [Source: 
HttpInputOverHTTP@68716b4c[c=837,q=1,[0]=EOF,s=STREAM]; line: 1, column: 814] 
(through reference chain: java.util.ArrayList[0])",
   "errorClass" : "com.fasterxml.jackson.databind.JsonMappingException",
   "host" : null
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@druid.apache.org
For additional commands, e-mail: dev-h...@druid.apache.org

Reply via email to