kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alone" <2312862...@qq.com>
Subject 回复: how to add a new database dialect
Date Tue, 03 Jul 2018 01:40:32 GMT
I see,thank you so much!


------------------ 原始邮件 ------------------
发件人: "ShaoFeng Shi"<shaofengshi@apache.org>;
发送时间: 2018年7月3日(星期二) 上午8:12
收件人: "dev"<dev@kylin.apache.org>;

主题: Re: how to add a new database dialect



Hi Alone,

I think that is easy to add a new type of JDBC data source. You can follow
such steps:

1) add the dialect in
source-hive/src/main/java/org/apache/kylin/source/jdbc/JdbcDialect.java
2) implement a new IJdbcMetadata if GBase's metadata fetching is different
with others and then register it in JdbcMetadataFactory
3) you may need to customize the SQL for creating/dropping table in
JdbcExplorer for GBase

Kaige, Shaoxiong, and other developers can comment if missing something. We
can further abstract the interface and make it as pluggable, I think this
task is in the plan. Please take a try and let us know if you see the
problem.


2018-07-02 23:56 GMT+08:00 Alone <2312862389@qq.com>:

> the kylin I used is V2.4,but it does not support the use of the GBase
> database as a data source.I think it's because of the lack of GBase
> database dialects。so how to add this dialect?




-- 
Best regards,

Shaofeng Shi 史少锋
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message