cyenjung commented on a change in pull request #4246: [TE] Cube algorithm for 
ratio metrics
URL: https://github.com/apache/incubator-pinot/pull/4246#discussion_r289485872
 
 

 ##########
 File path: 
thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/dashboard/resources/SummaryResource.java
 ##########
 @@ -180,4 +181,69 @@ public String 
buildSummaryManualDimensionOrder(@QueryParam("dataset") String dat
     }
     return OBJECT_MAPPER.writeValueAsString(response);
   }
+
+  @GET
+  @Path(value = "/summary/autoRatioDimensionOrder")
 
 Review comment:
   The integration is difficult to do for now because a ratio metric needs to 
be broken down to `numerator` and `denominator`. Although the information is 
available, it cannot be used directly. 
   
   Specifically, `ratio = id123/id456` where `id123` and `id456` are the 
numerator and denominator. We need to create another query to do a reverse 
lookup and get the original metric name. Otherwise, ThirdEye won't be able to 
get metrics by the `id` names.
   
   I suggest that we do the integration in another PR. This PR will focus on 
the implementation of the Ratio Cube. Users can use it through API for now and 
start to give us feedback. Does that work for you?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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]

Reply via email to