You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by 李孟 <me...@gmail.com> on 2022/07/09 09:07:58 UTC
[DISCUSS] lkip-19 linkis metadata query add database
This page describes the process for proposing breaking changes to Linkis.
* Status
* Motivation
* Proposed Changes
* Public Interfaces
* Compatibility, Deprecation, and Migration Plan
* Implementation Plan
* Rejected Alternatives
Status
Extend the database supported by Linkis DataSource, extend dm, greenplum, kingbase, oracle, postgres, sqlserver
Motivation
metadataManager Service implementation
Based on the mysql module, it integrates dm, greenplum, kingbase, oracle, postgres, sqlserver, and the protocol is separated from sql. The metadatamanager reflects multiple data sources, and is extended based on the mysql module and merged into one module.
Proposed Changes
1.linkis-metadata-query-server
loader:MetaClassLoaderManager maps mysql collection relationship classes to contain a variety of relational databases
2.linkis-metadata-query-service-mysql
db2,dm, greenplum, kingbase, oracle, postgres, sqlserver implement their own
Introduce each driver separately
dm driver : Dm7JdbcDriver16-7.6.0.165.jar
greenplum driver:greenplum-jdbc-5.1.4
kingbase driver:kingbase8-8.2.0.jar
oracle driver :ojdbc6-11.2.0.3.jar
postgres driver:postgresql-42.3.1.jar
sqlserver driver:
msbase-1.0.jar
mssqlserver-1.0.jar
msutil-1.0.jar
db2 driver:db2jcc4.jar
Public Interfaces
1..linkis-metadata-query-service-mysql
Compatibility, Deprecation, and Migration Plan
dev-linkis1.2.1
Implementation Plan
Rejected Alternatives
none yet
Limeng