rafael-telles opened a new pull request #11507:
URL: https://github.com/apache/arrow/pull/11507


   **Introduction**
   This experimental PR implements Flight SQL for C++, which formalizes SQL 
semantics on top of Flight. This follows the same functionalities as in the 
Java implementation (#10906)
   
   **An Overview of this PR**
   This PR adds a new module within Flight called flight-sql (located on 
`cpp/src/arrow/flight/flight-sql`).
   flight-sql is a new Flight API that provides a standard way for clients and 
servers to communicate with SQL-like semantics.
   Like other Flight APIs, flight-sql does not provide implementation details 
that dictate how a client and server communicates with each other, it simply 
provides the SQL semantics and apply them onto the Flight API.
   
   **A Walkthrough of the New Module**
   FlightSql.proto introduces new SQL protobuf objects (the same as in #10906).
   FlightSqlClient (client.h) introduces a new wrapper for a FlightClient that 
adds the Flight SQL semantics on the client side.
   FlightSqlServerBase (server.h) introduces a new FlightServerBase API that 
adapts classic Flight requests into SQL operations.
   SQLiteFlightSqlServer (example/sqlite_server.h) is a sample Flight SQL 
server implementation using an in-memory SQLite as the underlying database.
   
   FlightSqlClient is fully implemented. 
   FlightSqlServerBase and the example server are in progress (only missing the 
GetSqlInfo command) and will be finished very soon.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to