[ https://issues.apache.org/jira/browse/DRILL-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183908#comment-15183908 ]
ASF GitHub Bot commented on DRILL-4313: --------------------------------------- Github user hnfgns commented on a diff in the pull request: https://github.com/apache/drill/pull/396#discussion_r55286410 --- Diff: contrib/native/client/example/querySubmitter.cpp --- @@ -317,16 +320,20 @@ int main(int argc, char* argv[]) { std::vector<Drill::QueryHandle_t*>::iterator queryHandleIter; Drill::DrillClient client; - // To log to file - //DrillClient::initLogging("/var/log/drill/", l); +#if defined _WIN32 || defined _WIN64 + const char* logpathPrefix = "C:\\Users\\Administrator\\Documents\\temp\\drillclient"; --- End diff -- minor: the use of GetTempPath in <windows.h> seems more appropriate here. > C++ client - Improve method of drillbit selection from cluster > -------------------------------------------------------------- > > Key: DRILL-4313 > URL: https://issues.apache.org/jira/browse/DRILL-4313 > Project: Apache Drill > Issue Type: Improvement > Reporter: Parth Chandra > Assignee: Parth Chandra > Fix For: 1.6.0 > > > The current C++ client handles multiple parallel queries over the same > connection, but that creates a bottleneck as the queries get sent to the same > drillbit. > The client can manage this more effectively by choosing from a configurable > pool of connections and round robin queries to them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)