I see??thank you so much!

------------------ ???????? ------------------
??????: "ShaoFeng Shi"<shaofeng...@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 <2312862...@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 ??????

Reply via email to