You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2018/05/14 11:56:49 UTC

[GitHub] ashukhira commented on issue #4998: Issue in superset/connectors/druid/models.py

ashukhira commented on issue #4998: Issue in superset/connectors/druid/models.py
URL: https://github.com/apache/incubator-superset/issues/4998#issuecomment-388791395
 
 
   **correction on Expected results**
   
   I have defined druid mertics as doubleSum inside my druidDatSource. Inside /druiddatasourcemodelview/edit , it is visible like
   {"type": "doubleSum", "name": "sum__Revenue", "fieldName": "Revenue"} ,
   
   while i am making query it is giving error this:--
   HTTP Error 500: Internal Server Error Druid Error: Internal Server Error Query is: { "aggregations": [ { "name": "count", "type": "count" }, { "fieldName": "Revenue", "fieldNames": [ "Revenue" ], "name": "SUM(Revenue)", "type": "floatSum" } ], "dataSource": "", "granularity": "all", "intervals": "2018-05-07T00:00:00+00:00/2018-05-14T11:37:16+00:00", "postAggregations": [], "queryType": "timeseries" }
   
   It is taking doubleSum to floatSum during query time.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org