-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Change the prefix of table info apis #1625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "/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", |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
imay
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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.