[GitHub] drill pull request #698: DRILL-5136: Server unable to prepare non SELECT que...

2016-12-27 Thread superbstreak
Github user superbstreak closed the pull request at:

https://github.com/apache/drill/pull/698


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] drill pull request #698: DRILL-5136: Server unable to prepare non SELECT que...

2016-12-19 Thread superbstreak
GitHub user superbstreak opened a pull request:

https://github.com/apache/drill/pull/698

DRILL-5136: Server unable to prepare non SELECT queries

Currently, the server makes every incoming queries a limit 0 query during 
server prepare. This is causing some non select queries to fail.

We need to add an additional check to determine if the query is a SELECT 
query before wrapping it with LIMIT 0.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/superbstreak/drill DRILL-5136

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/drill/pull/698.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 #698


commit 1856ca01c68ae841d90f8ed27ec577c708cec4f7
Author: Rob Wu 
Date:   2016-12-19T22:58:20Z

DRILL-5136: Server unable to prepare some non SELECT queries

Currently, the server makes every incoming queries a limit 0 query during 
server prepare. This is causing some non select queries to fail.

We need to add an additional check to determine if the query is a SELECT 
query before wrapping it with LIMIT 0.




---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---