ashukhira commented on issue #5440: Superset Druid Query Error URL: https://github.com/apache/incubator-superset/issues/5440#issuecomment-406967248 Hi, 1) - Above issue coming when passing following in limitSpec with Column node . Below funky limitSpec generated by superset 0.25.6 . And druid not getting to understood below funky limitSpec. If we remove limitSpec column then it works well. So here want to know why superset adding such limitSpec?? Is such limitSpec supported by druid-0.12. "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"}, 2)- com.fasterxml.jackson.databind.JsonMappingException :-- exception error throwing by druid. coming when limitSpec JSON specifies an array while you're trying to deserialize into an object. com.fasterxml.jackson.databind :-- is library , that support General data-binding functionality for Jackson: works on core streaming API . https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
