Implement Basic FlightSQL Client #1413#1616
Implement Basic FlightSQL Client #1413#1616timvw wants to merge 21 commits intoapache:masterfrom timvw:flight_sql_client_example
Conversation
|
Some cleanup/suggestions for cleanup are very welcome (I'm still very new to writing rust code, most definitely will want to make the error handling more rust idiomatic..) |
|
Thanks for the PR! Actually I think what we expected is a client API that can help user to build the example you showed in here. Such as we add a src/sql/client.rs to implement the API similar to cpp-client-api, and then use the client api in examples/ |
|
Got it. Will try to find some time to factor out the (ipc/conversion) parts and see what would make sense in a client-api.. |
|
@timvw I pushed my WIP code for your reference, you can take a look if you are interested. |
|
@wangfenjin Surprisingly I had started creating a similar flight sql client yesterday, threw it away, started from your WIP and updated the example client app.. Main areas that need attention:
|
|
I hope to find time to review this tomorrow |
Change-Id: I4cfc1412c05933c9c903d678a42462852d99fd28
…izing the putresult. not sure who's to blame for that
|
Triggered. |
Codecov Report
@@ Coverage Diff @@
## master #1616 +/- ##
==========================================
- Coverage 83.02% 82.79% -0.23%
==========================================
Files 193 194 +1
Lines 55612 55764 +152
==========================================
- Hits 46174 46172 -2
- Misses 9438 9592 +154
Continue to review full report at Codecov.
|
|
Thanks @timvw -- I am sorry I haven't spent much time helping to review this code. If you think it is ready to do so I'll try and give it a thorough review later this week Thanks again |
|
It's still WIP, maybe we can mark it as draft for now @timvw |
|
cc @avantgardnerio here is some work related to making a FlightSQL client |
|
Closing in favour of #3207 |
Which issue does this PR close?
Closes #1413
Client application replicates functionality in FlightSqlClientDemoAp and works against FlightSqlExample