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/07/30 03:14:58 UTC

[GitHub] ahsanshah commented on issue #5496: Druid Postaggregations in superset: list index out of range

ahsanshah commented on issue #5496: Druid Postaggregations in superset: list index out of range
URL: https://github.com/apache/incubator-superset/issues/5496#issuecomment-408735109
 
 
   Here is a sample postagg definition for an "Average" metric:
   
   {
   "type": "arithmetic",
   "name": "div",
   "fn": "/",
   "fields": [
        {
             "fieldName": "sum__average_metric",
             "type": "fieldAccess",
             "name": "sum__average_metric"
        },
        {
                  "type": "fieldAccess",
                  "fieldName": "count",
                  "name": "count"
             }
   ]
   }
   
   Are you defining the postagg properly?  

----------------------------------------------------------------
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