GitHub user charsyam opened a pull request:
https://github.com/apache/tajo/pull/598
TAJO-1636 query rest api uri should change from
/databases/{database_name}/queies to /queries
currently, "databases" Rest Api uri has too many meaning.
1. for query
2. to manage databases info
and databases/
{database_name}/queries is not proper for queries
so I suggest change from "/databases/{database_name}
/queries" to
"/queries/", it is more clear to understand.
below apis will changed.
POST /databases/{databaseName}/queries -> POST /queries
GET /databases/{databaseName}/queries -> GET /queries
GET /databases/{databaseName}/queries/{queryId} -> GET /queries/{queryId}
GET /databases/{databaseName}/queries/{queryId}/result -> GET
/queries/{queryId}/result
GET /databases/{databaseName}/queries/{queryId}/result/{cacheId} -> GET
/queries/{queryId}/result/{cacheId}
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/charsyam/tajo feature/change-query-api-address
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/598.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #598
----
commit f068436b62ea934e26efa85b8b78a78ca64215b0
Author: clark.kang <[email protected]>
Date: 2015-06-04T15:39:47Z
change-query-api-address
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---