arina-ielchiieva commented on a change in pull request #1761: DRILL-7190:
Missing backward compatibility for REST API with DRILL-6562
URL: https://github.com/apache/drill/pull/1761#discussion_r277165306
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StorageResources.java
##########
@@ -147,9 +150,10 @@ public JsonResult enablePlugin(@PathParam("name") String
name, @PathParam("val")
}
@GET
- @Path("/storage/{name}/export/{format}")
+ @Path("/storage/{name}/export{format: (/[^/]+?)*}")
Review comment:
Please add Javadoc / comment explaining this logic.
----------------------------------------------------------------
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