aboutsummaryrefslogtreecommitdiff
path: root/contrib/native/client/src
AgeCommit message (Collapse)Author
2017-03-31DRILL-5368: Fix memory leak issue in DrillClientImpl::processServerMetaResultLaurent Goujon
Fix a small memory leak by doing local allocation instead since the object doesn't escape the function. close #790
2017-03-31DRILL-5369: Add initializer for ServerMetaContextLaurent Goujon
ServerMetaContext had no default constructor. The lack of it might cause m_done to be set to true, same for other variables. Add a default constructor to explicitly initialize its members. close #791
2017-03-20DRILL-5316: Check drillbits size before we attempt to access the vector elementRob Wu
close apache/drill#772
2017-03-20DRILL-5311: Check handshake result in C++ connectorLaurent Goujon
In C++ client connector, DrillClientImpl::recvHandshake always return success, even in case of connection error (like a tcp timeout issue). Only on WIN32 platform would the error code be checked. Remove the restriction to only check on WIN32, plus add some logging. close apache/drill#770
2017-03-02DRILL-5313: Fix compilation issue in C++ connectorLaurent Goujon
DRILL-5301 and DRILL-5167 have conflicting changes, which causes the C++ connector to not compile: the static symbol for the search escape string has been removed as the server might use a different one. Fix the issue by using the current search escape string (injected from the meta to the internal drill client when querying metadata). close #769
2017-03-01DRILL-5221: Send cancel message as soon as possible in C++ connectorLaurent Goujon
In C++ connector, try to send cancel request to the server as soon as possible, which means when receiving the queryId or when requested by the user if queryId has already been received. close #733
2017-03-01DRILL-5167: Send escape character for metadata queriesLaurent Goujon
Escape character was not sent when doing metadata queries, which caused the server to return incorrect results as the pattern is interpreted differently form what the user asked for. close #712
2017-03-01DRILL-5301: Add C++ client support for Server metadata APILaurent Goujon
Add support to the Server metadata API to the C++ client if available. If the API is not supported to the server, fallback to the previous hard-coded values. Update the querySubmitter example program to query the information. close #764
2017-03-01DRILL-4994: Add back JDBC prepared statement for older serversLaurent Goujon
When the JDBC client is connected to an older Drill server, it always attempted to use server-side prepared statement with no fallback. With this change, client will check server version and will fallback to the previous client-side prepared statement (which is still limited to only execute queries and does not provide metadata). close #613
2017-02-24DRILL-4280: CORE (user to bit authentication, C++)Sudheesh Katkam
closes #578
2017-02-24DRILL-4280: CORE (C++ protocol)Sudheesh Katkam
2017-02-07DRILL-5219: Relax user properties validation in C++ clientLaurent Goujon
Unlike Java client, C++ client only allows user properties present in a whitelist. Relax this restriction so that user can add extra properties. This closes #727
2017-02-03DRILL-5220: Provide API to set application/client names in C++ connectorLaurent Goujon
Add method to DrillClientConfig to set the client and the application names in the C++ connector. Allow the ODBC driver (or any user of the C++ connector) to provide more specific informations like the application using the client. This closes #728
2017-01-30DRILL-5218: Support optionally disabling heartbeats from C++ clientSudheesh Katkam
closes #726
2016-11-01DRILL-1996: Add cancel method to Drill C++ connectorLaurent Goujon
This closes #602
2016-11-01DRILL-4420: C++ API for metadata access and prepared statementsLaurent Goujon
Add support to the C++ client for metadata querying and prepared statement requests. Part of the metadata API, add methods to query for server capabilities. As of now, this interface is not backed up by any RPC exchange so the information is pretty much static, and match Drill 1.8.0 current capabilities.
2016-11-01DRILL-1268: Add unit test to C++ native clientLaurent Goujon
Add CppUnit unit test to the C++ native client
2016-11-01DRILL-4853: Update C++ protobuf source filesLaurent Goujon
Add support for prepared statements and metadata querying
2016-07-15DRILL-4647: C++ client fails to propagate a dead connection error to the ↵Parth Chandra
application. This closes #493
2016-03-07DRILL-4313: C++ Client - Thread safe Logging. Improved Drill bit selection.Parth Chandra
- Update random drill bit selection. Shuffle the list initially, then round robin. Add Utility methods to get random numbers and to shuffle and add vectors. Whitespace cleanup - Add Git properties to build and print to log. - Add interface to get error based on query handle. - Add support for Pooled connections. Allows switching between pooled and unpooled connections based on environment variables
2016-03-05DRILL-4281: Support authorized proxy users to impersonate other usersSudheesh Katkam
closes #400
2016-01-28DRILL-4313: CPP client - Improve method to pick random drillbit from a ↵Parth Chandra
cluster. Update build for protobuf changes. This closes #346
2015-06-18DRILL-2997: (3) Regenerated CPP protobuf code for previous DRILL-2997 patchParth Chandra
2015-05-13DRILL-2998: Implement heartbeat in C++ clientParth Chandra
2015-05-05DRILL-2885: Return more precise error codes on handshake failures in C++ clientnorrislee
2015-05-05DRILL-2928: C++ client - io_service needs to be reset after running out of workParth Chandra
2015-04-06DRILL-2671: C++ Client Authentication API passing std::string across DLL ↵Norris Lee
boundaries
2015-04-05DRILL-2672: C++ Client - Add support for authenticationParth Chandra
2015-04-03DRILL-2573: C++ Client - Separate QueryResult into QueryResult and QueryDataParth Chandra
2015-03-24DRILL-2307: Detect DNS name resolution failure for better error messagesNorris Lee
2015-03-24DRILL-2509: C++ client - concurrency issue with m_pendingRequestsParth Chandra
2015-03-24DRILL-2442: Initial implementation of C++ client support for impersonation.Parth Chandra
2015-03-19DRILL-2415: Export Drill C++ Client symbols so as to provide dynamic linkingalzarei
2015-02-17DRILL-1219. C++ Client. Fix timeout for 32-bit windows platformalzarei
2015-02-17DRILL-2038: Fix handling of error objects. C++ Client syncronous API has a ↵Parth Chandra
crash with multiple parallel queries.
2015-02-13DRILL-1697. C++ Client. Use the object io_service::work to prevent ↵Xiao Meng
io_service running out of work. - Deleting the `work` object to permit the io_service to exit. - Also reset `io_service` before submitting query.
2015-02-13DRILL-1697: C++ client. Fix crash when listener exits prematurely.Parth Chandra
2015-02-13DRILL-1197: C++ Client. Differentiate socket/handshake/query timeout for ↵Xiao Meng
deadline timer. It also - returns more detailed connection status for validate handshake. - adds timeout options for query submitter.
2015-01-09DRILL-1955: C++ client should provide a clean method for detecting query ↵Parth Chandra
completion in the async API.
2015-01-06DRILL-1361: C++ Client needs a better error message when the handshake fails.Parth Chandra
2015-01-06DRILL-1498 Drill Client to handle spurious results and handshake messagesnorrislee
2015-01-06DRILL-1776: C++ Client. Add interface to get application context.Xiao Meng
2015-01-06DRILL-1533: C++ Drill Client always sets hasSchemaChanged to true for every ↵norrislee
new record batch
2015-01-02DRILL-1568: C++ Client - Handle Query CancelParth Chandra
2014-12-17DRILL-1869: CPP client - Handle nullable varchar columns with all nulls ↵Parth Chandra
(fixed slicedByteBuf to handle zero length buffers). Also handle case where server sends a record batch where vector value counts are zero.
2014-11-07DRILL-1585: C++ Client - Update RPC version and protobuf definitions for RPC ↵Parth Chandra
version 3
2014-11-07DRILL-1566: C++ Client does not handle incoming record batches with zero recordsParth Chandra
2014-10-21DRILL-1305: C++ Client. Consume QueryState message from the Drillbit.Xiao Meng
2014-10-21DRILL-1511: C++ Client. Fix compiling issues in DRILL-1297 patch.Xiao Meng
- Remove forward enum type declaration (not allowed in C++ 03). - Add space between `<` and `::` to fix compilation of clang
2014-10-15DRILL-1303 - Fix Drill Client assertion on getting bad metadataParth Chandra