Skip to content
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

Have Table Endpoint Filter Using QueryPlanningConstraint #439

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

QubitPi
Copy link
Contributor

@QubitPi QubitPi commented Jul 21, 2017

The 3rd milestone implementation of #310 . This PR implements basics. There are the following issues that could bring improvements:

For @archolewa's request, API doc also needs to be updated

@QubitPi QubitPi added the WIP label Jul 21, 2017
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-TablesApiRequest branch from c9b578c to 04eff7e Compare July 26, 2017 17:24
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from 2dcf411 to 3f660a3 Compare July 26, 2017 17:27
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-TablesApiRequest branch from 04eff7e to 1c72507 Compare August 2, 2017 17:31
@Context UriInfo uriInfo,
@Context final ContainerRequestContext containerRequestContext
) {
RequestLog.startTiming(this);
Copy link
Member

Choose a reason for hiding this comment

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

Everything should be under the try block.
The constructor for TablesApiRequest can throw BadApiRequestException which would cause us to never close the timer. Related to #362

@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-TablesApiRequest branch 3 times, most recently from 02517a8 to c3ecb49 Compare August 2, 2017 23:09
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch 2 times, most recently from ac7b631 to fc613e5 Compare August 7, 2017 21:11
@QubitPi QubitPi changed the base branch from getLogicalTableFullView-with-TablesApiRequest to master August 7, 2017 21:11
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from fc613e5 to f800dd4 Compare October 17, 2017 18:04
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from 5479a66 to b33c0db Compare October 17, 2017 18:57
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@yahoo yahoo deleted a comment Oct 17, 2017
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from a01ff04 to d4d406e Compare October 17, 2017 23:44
@yahoo yahoo deleted a comment Oct 18, 2017
@yahoo yahoo deleted a comment Oct 21, 2017
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from c33f603 to 2466ea0 Compare October 30, 2017 18:42
@yahoo yahoo deleted a comment Oct 30, 2017
@QubitPi QubitPi changed the title Have Table Endpoint Filter Using Dimensions, Metrics, and Filters Have Table Endpoint Filter Using QueryPlanningConstraint Oct 30, 2017
@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from 2466ea0 to f78aad5 Compare October 30, 2017 19:08
@QubitPi QubitPi added the WIP label Oct 30, 2017
@yahoo yahoo deleted a comment Oct 30, 2017
@yahoo yahoo deleted a comment Oct 31, 2017
@yahoo yahoo deleted a comment Oct 31, 2017
@yahoo yahoo deleted a comment Oct 31, 2017
@yahoo yahoo deleted a comment Oct 31, 2017
@@ -259,7 +261,9 @@

UNABLE_TO_CREATE_DIR("Unable to create directory %s."),
UNABLE_TO_DELETE_DIR("Unable to delete directory %s."),
FAIL_TO_WIPTE_LUCENE_INDEX_DIR("Failed to wipe Lucene index at directory: %s")
FAIL_TO_WIPTE_LUCENE_INDEX_DIR("Failed to wipe Lucene index at directory: %s"),
Copy link
Contributor

Choose a reason for hiding this comment

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

spelling error 'Wipe'

Copy link
Contributor

@archolewa archolewa left a comment

Choose a reason for hiding this comment

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

Though it would be nice @QubitPi if you opened another PR that updates the end user API docs so that people know how to perform constrained queries without having to dig through the code.

@QubitPi QubitPi force-pushed the getLogicalTableFullView-with-filter branch from 0849705 to 53c6371 Compare November 1, 2017 16:36
@yahoo yahoo deleted a comment Nov 1, 2017
@QubitPi QubitPi merged commit 3c7cfe5 into master Nov 1, 2017
@QubitPi QubitPi deleted the getLogicalTableFullView-with-filter branch November 1, 2017 16:43
@QubitPi
Copy link
Contributor Author

QubitPi commented Nov 1, 2017

@archolewa Sure. Here is the issue, which I will address today - #560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants