imay commented on a change in pull request #1625: Change the prefix of table
info apis
URL: https://github.com/apache/incubator-doris/pull/1625#discussion_r312884183
##########
File path:
fe/src/main/java/org/apache/doris/http/rest/TableQueryPlanAction.java
##########
@@ -77,25 +81,26 @@ public TableQueryPlanAction(ActionController controller) {
public static void registerAction(ActionController controller) throws
IllegalArgException {
controller.registerHandler(HttpMethod.POST,
- "/api/{cluster}/{database}/{table}/_query_plan", new
TableQueryPlanAction(controller));
+ "/api/{" + DB_KEY + "}/{table}/_query_plan",
+ new TableQueryPlanAction(controller));
controller.registerHandler(HttpMethod.GET,
- "/api/{cluster}/{database}/{table}/_query_plan", new
TableQueryPlanAction(controller));
+ "/api/{" + DB_KEY +
"}/{database}/{table}/_query_plan",
Review comment:
```suggestion
"/api/{" + DB_KEY +
"}/{table}/_query_plan",
```
----------------------------------------------------------------
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]