State

[progress record]:

Proposed time: 2022/05/26

Discussion time:

Acceptance time:

Complete time:

[issues]:

[email]:  

[release]:

[proposer]:peacewong

Motivation & Background

Currently, Linkis jdbc-driver adopts the lightweight jdbc protocol implemented by linkis-sdk, which is incompatible with the existing jdbc-driver protocol. Users need to switch drivers to access Linkis server. In addition, ODBC is not supported, and the support for many BI systems is weak. For example, there are some data field compatibility problems in tableau.

Basic concept

  • thrift interface
  • jdbc
  • odbc

Expect to achieve goals

  • Implement the thrift protocol interface of linkis to be compatible with driver protocols such as Hive-jdbc/odbc-driver

Implementation plan

  • 1. The Entrance service supports submitting tasks through the Thrift protocol
  • 2. Or add a separate microservice to support the Thrift protocol to submit tasks to entry
  • 3. Need to be compatible with use similar to Hiveserver2

Changes


Modification Detail
1
Modification of maven module


2Modification of HTTP interface
3Modification of the client interface
4Modification of database table structure
5Modification of configuration item
6Modification Error code 
7Modifications for Third Party Dependencies

Compatibility, Deprecation, and Migration Plan

  • What impact (if any) will there be on existing users?
  • If we are changing behavior, how will we phase out the older behavior?
  • If we require special migration tools, describe them here.
  • When will we remove the existing behavior?