Skip to content

Conversation

@EmmyMiao87
Copy link
Contributor

The pathtrie could not distinguish the different param key with the same prefix path.
So the prefix of table info apis has been change to /api/external which is used by spark-doris-connector.

The pathtrie could not distinguish the different param key with the same prefix path.
So the prefix of table info apis has been change to /api/external which is used by spark-doris-connector.
new TableQueryPlanAction(controller));
controller.registerHandler(HttpMethod.GET,
"/api/{cluster}/{database}/{table}/_query_plan", new TableQueryPlanAction(controller));
"/api/{" + DB_KEY + "}/{database}/{table}/_query_plan",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"/api/{" + DB_KEY + "}/{database}/{table}/_query_plan",
"/api/{" + DB_KEY + "}/{table}/_query_plan",

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should unify "table" for all rest API

imay
imay previously approved these changes Aug 12, 2019
Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imay imay merged commit 780a255 into apache:master Aug 13, 2019
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants