shaofengshi commented on a change in pull request #327: KYLIN-3552 add doc and 
blog
URL: https://github.com/apache/kylin/pull/327#discussion_r248230776
 
 

 ##########
 File path: website/_posts/blog/2018-10-30-introduce-data-source-sdk-v2.6.0.md
 ##########
 @@ -0,0 +1,37 @@
+---
+layout: post-blog
+title:  Introduce data source SDK
+date:   2018-10-30 20:00:00
+author: Youcheng Zhang
+categories: blog
+---
+
+## Data source SDK
+
+Apache Kylin has already supported several data sources like vertica, SQL 
Server through JDBC. But we found that it takes much efforts to develop an 
implementation to a new source engine, like supporting metadata sync, cube 
build and query pushdown. It’s mainly because the SQL dialects and jdbc 
implementations between source engines are quite different.
+  
+So since 2.6.x, Kylin provides a new data source SDK, which provides APIs to 
help developers handle these dialect differences and easily implement a new 
data source through JDBC.
+  
+With this SDK, users can achieve followings from a JDBC source:
+
+* synchronize metadata and data from JDBC source
+* build cube from JDBC source
+* query pushdown to JDBC source engine when cube is unmatched
+
+
+## Structure
+
+{:.center}
+![](/images/blog/data-source-sdk.png)
+ 
+When users want to synchronize metadata or get data from data source, the 
request pass through the framework, and the framework find the adaptor what has 
an API for metadata and data.  
+ 
+To avoid having complex adaptors, when having a push-down query, framework 
provides sql conversions from ansi sql to target data source dialect(includes 
sql functions and sql types), and adaptor just provide a function *fixSql* to 
fix the sql after conversion.  
+
+
+## How to develop  
+  
+Please follow this 
[doc](https://kylin.apache.org/development/howto_develop_own_jdbc_datasource.html)
 
 Review comment:
   The URL doesn't need be a full URL, since it is in the same website;

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to