Clone
Laurent Goujon <laurent@dremio.com>
committed
on 18 Oct 16
DRILL-4369: Exchange name and version infos during handshake
There's no name and version exchanged between client and server over the User R… Show more
DRILL-4369: Exchange name and version infos during handshake

There's no name and version exchanged between client and server over the User RPC

channel.

On client side, having access to the server name and version is useful to expose it

to the user (through JDBC or ODBC api like DatabaseMetadata#getDatabaseProductVersion()),

or to implement fallback strategy when some recent API are not available (like

metadata API).

On the server side, having access to the client version might be useful for audit

purposes and eventually to implement fallback strategy if it doesn't require a RPC

version change.

this closes #622

Show less

master + 9 more