You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2022/01/19 08:32:36 UTC
svn commit: r1897192 [2/2] - in /kylin/site: ./ blog/ blog/2022/ blog/2022/01/ blog/2022/01/12/ blog/2022/01/12/The-Future-Of-Kylin/ cn/blog/ cn_blog/2022/ cn_blog/2022/01/ cn_blog/2022/01/12/ cn_blog/2022/01/12/The-Future-Of-Kylin/ download/ images/blog/
Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1897192&r1=1897191&r2=1897192&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Wed Jan 19 08:32:36 2022
@@ -19,11 +19,123 @@
<description>Apache Kylin Home</description>
<link>http://kylin.apache.org/</link>
<atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Thu, 13 Jan 2022 00:29:42 -0800</pubDate>
- <lastBuildDate>Thu, 13 Jan 2022 00:29:42 -0800</lastBuildDate>
+ <pubDate>Wed, 19 Jan 2022 00:16:41 -0800</pubDate>
+ <lastBuildDate>Wed, 19 Jan 2022 00:16:41 -0800</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
+ <title>The future of Apache Kylinï¼More powerful and easy-to-use OLAP</title>
+ <description><h2 id="apache-kylin-today">01 Apache Kylin Today</h2>
+
+<p>Currently, the latest release of Apache Kylin is 4.0.1. Apache Kylin 4.0 is a major version update after Kylin 3.x (HBase Storage). Kylin 4.0 uses Parquet to replace HBase as storage engine, so as to improve file scanning performance. At the same time, Kylin 4.0 reimplements the spark based build engine and query engine, making it possible to separate computing and storage, and better adapt to the technology trend of cloud native.</p>
+
+<p>Kylin 4.0 comprehensively updated the build and query engine, realized the deployment mode without Hadoop dependency, decrease the complexity of deployment. In addition, combined with the feedback of Kylin users and the trend of OLAP technology, Kylin community found that there are still some weaknesses and deficiencies in todayâs Apache Kylin, such as the ability of business semantic layer needs to be strengthened and the modification of model/cube is not flexible. With these, we thinking a few things to do::</p>
+
+<ul>
+ <li>Multi-dimensional query ability friendly to non-technical personnel. Multi-dimensional model is the key to distinguish Kylin from general OLAP engine. The feature is that the model concept based on dimension and measurement is more friendly to non-technical personnel and closer to the goal of âeveryone is a data analystâ. The multi-dimensional query capability that non-technical personnel can use should be the new focus of Kylin technology.</li>
+ <li>Native Engine. The query engine of Kylin still has much room for improvement in vector acceleration and cpu instruction level optimization. The Spark community Kylin relies on also has a strong demand for native engine. It is optimistic that native engine can improve the performance of Kylin by at least three times, which is worthy of investment.</li>
+ <li>More cloud native capabilities. Kylin 4.0 has only completed the initial cloud deployment and realized the features of rapid deployment and dynamic resource scaling on the cloud, but there are still many cloud native capabilities to be developed.</li>
+</ul>
+
+<p>More explanations are following.</p>
+
+<h2 id="kylin-as-a-multi-dimensional-database">02 KYLIN AS A MULTI-DIMENSIONAL DATABASE</h2>
+<p>The core of Kylin is a multi-dimensional database, which is a special OLAP engine. Although Kylin has always had the ability of relational database since its birth, and it is often compared with other relational OLAP engines, what really makes Kylin different is multi-dimensional model and multi-dimensional database ability. Considering the essence of Kylin and its wide range of business uses in the future (not only technical uses), we will clearly position Kylin as a multi-dimensional database. We also hope that through multi-dimensional model and precomputation technology, Apache Kylin can make non-technical people understand and afford big data, and finally realize data democratization.</p>
+
+<h3 id="the-semantic-layer">THE SEMANTIC LAYER</h3>
+<p>The key difference between multi-dimensional database and relational database is business expression ability. Although SQL has strong expression ability and is the basic skill of data analysts, SQL and relational database are still too difficult for non-technical personnel if we aim at âeveryone is a data analystâ. From the perspective of non-technical personnel, the data lake and data warehouse are like a dark room. They know that there is a lot of data, but they canât see clearly, understand and use this data because they donât understand database theory and SQL.<br />
+How to make the Data Lake (and data warehouse) clear to non-technical personnel? This requires introducing a more friendly data model for non-technical personnel ââ multi-dimensional data model. While the relational model describes the technical form of data, the multi-dimensional model describes the business form of data. In multi-dimensional database, measurement corresponds to business indicators that everyone understands, and dimension is the perspective of comparing and observing these business indicators. Compare KPI with last month and compare performance between parallel business units, which are concepts understood by every non-technical personnel. By mapping the relational model to the multi-dimensional model, the essence is to enhance the business semantics on the technical data, form a business semantic layer, and help non-technical personnel understand, explore and use the data.<br />
+In order to enhance Kylinâs ability as the semantic layer of multi-dimensional database, supporting multi-dimensional query language is the key content of Kylin roadmap, such as MDX and DAX. MDX can transform the data model in Kylin into a business friendly language, endow data with business value, and facilitate Kylinâs multi-dimensional analysis with BI tools such as Excel and Tableau.</p>
+
+<h3 id="precomputation-and-model-flexibility">PRECOMPUTATION AND MODEL FLEXIBILITY</h3>
+<p>It is kylinâs unchanging mission to continue to reduce the cost of a single query through precomputation technology so that ordinary people can afford big data. If the multi-dimensional model solves the problem that non-technical personnel can understand data, then precomputation can solve the problem that ordinary people can afford data. Both are necessary conditions for data democratization. Through one calculation and multiple use, the data cost can be shared by multiple users to achieve the scale effect that the more users, the cheaper. Precalculation is Kylinâs traditional strength, but it lacks some flexibility in the change of precalculation model. In order to strengthen the ability to change models flexibly of Kylin and bring more optimization room, Kylin community expects to propose a new metadata format in Kylin in the future to make precalculation more flexible, be able to cope with that table format or business requirements may change at any time.</
p>
+
+<h3 id="summary">SUMMARY</h3>
+<p>To sum up, we will make it clear that Kylinâs technical position is a multi-dimensional database. Through multi-dimensional model and precomputation technology, ordinary people can understand and afford big data, and finally realize the vision of data democratization. Meanwhile, for todayâs users who use Kylin as the SQL acceleration layer, Kylin will continue to maintain a complete SQL interface to ensure that the precomputation technology can be used by both relational model and multi-dimensional model.<br />
+In the figure below, we can clearly see the direction of Kylinâs attention in the future. The newly added and modified parts are roughly marked in blue and orange.</p>
+
+<p><img src="/images/blog/the_future_of_kylin.png" alt="" /></p>
+
+<h2 id="the-future-plan">03 THE FUTURE PLAN</h2>
+
+<p>Based on Kylinâs positioning as a multi-dimensional database, combined with the existing capabilities of Kylin that need to be strengthened, and in order to support the long-awaited features of users such as schema change, we plan to introduce a new metadata format of DataModel into Kylin : no longer expose Cube to users, but simplify the metadata dependency to âModel -&gt; Tableâ.<br />
+As metadata is the basis and contract for the subsequent collaborative development of Kylin, the design and development of the new metadata format will be the focus of Kylin communityâs work at present and in the next few months. The metadata design and discussion proposal will be released later. You are welcome to participate in the discussion. Not surprisingly, the new metadata format will meet you this year.<br />
+In addition to metadata format upgrading, the build and query engine which support metadata upgrade, semantic layer capability (MDX), better integration with BI tools and native engine are also the key work that Kylin community has been actively promoting. More like-minded users and developers are welcome to participate in development and promote Kylin community development jointly.</p>
+
+<p>** Further Reading **<br />
+- https://en.wikipedia.org/wiki/Data_model<br />
+- https://en.wikipedia.org/wiki/Semantic_layer<br />
+- https://en.wikipedia.org/wiki/Multidimensional_analysis<br />
+- https://en.wikipedia.org/wiki/MultiDimensional_eXpressions<br />
+- https://en.wikipedia.org/wiki/XML_for_Analysis<br />
+- https://en.wikipedia.org/wiki/SIMD<br />
+- https://en.wikipedia.org/wiki/Cloud_native_computing<br />
+- https://blogs.gartner.com/carlie-idoine/2018/05/13/citizen-data-scientists-and-why-they-matter/</p>
+
+</description>
+ <pubDate>Wed, 12 Jan 2022 03:00:00 -0800</pubDate>
+ <link>http://kylin.apache.org/blog/2022/01/12/The-Future-Of-Kylin/</link>
+ <guid isPermaLink="true">http://kylin.apache.org/blog/2022/01/12/The-Future-Of-Kylin/</guid>
+
+
+ <category>blog</category>
+
+ </item>
+
+ <item>
+ <title>ä¸ä¸ä»£ Kylinï¼æ´å¼ºå¤§åæç¨ç OLAP</title>
+ <description><h2 id="apache-kylin-">01 Apache Kylin çä»å¤©</h2>
+<p>ç®åï¼Apache Kylin çææ°åå¸çæ¬æ¯ 4.0.1ã Apache Kylin 4.0 æ¯ Kylin 3.xï¼HBase Storageï¼çæ¬åçä¸æ¬¡é大çæ¬æ´æ°ï¼Kylin 4 ä½¿ç¨ Parquet è¿ç§çæ£çåå¼åå¨æ¥ä»£æ¿ HBase åå¨ï¼ä»èæåæ件æ«ææ§è½ï¼åæ¶ï¼Kylin 4 éæ°å®ç°äºåºäº Spark çæ建å¼æåæ¥è¯¢å¼æï¼ä½¿å¾è®¡ç®ååå¨çå离å为å¯è½ï¼æ´å éåºäºåççææ¯è¶å¿ã<br />
+Kylin 4.0 对æ建åæ¥è¯¢å¼æåäºå
¨é¢æ´æ°ï¼å®ç°äºå» Hadoop é¨ç½²ï¼è§£å³äºåæ¥ä¸äºçé®é¢ãé¤æ¤ä¹å¤ï¼ç»å社åºç¨æ·çåé¦ä»¥å OLAP ææ¯åå±çè¶å¿ï¼Kylin 社åºåç°å½åç Kylin ä»ç¶åå¨ä¸äºå¼±å¿ä¸ä¸è¶³ï¼æ¯å¦ä¸å¡è¯ä¹å±è½åæå¾
å 强ãé¢è®¡ç®æ¨¡ååæ´ä¸å¤çµæ´»çï¼åºäºè¿äºä¸è¶³å¯ä»¥å°åç»éè¦è¿è¡çå·¥ä½æ»ç»ä¸ºä»¥ä¸å 个æ¹é¢ï¼</p>
+
+<ul>
+ <li>对éææ¯äººåå好çå¤ç»´æ¥è¯¢è½åãå¤ç»´æ¨¡åæ¯ Kylin åºå«äºä¸è¬ OLAP å¼æçå
³é®ãç¹ç¹å¨äºï¼ä»¥ç»´åº¦ã度é为åºç¡ç模åæ¦å¿µå¯¹éææ¯äººåæ´å好ï¼æ´æ¥è¿ â人人é½æ¯æ°æ®åæå¸â çç®æ ãéææ¯äººåè½ç¨çå¤ç»´æ¥è¯¢è½åï¼åºè¯¥æ¯ Kylin ææ¯åç»çæ°éå¿ã</li>
+ <li>Native EngineãKylin å¼æå¨åéå éãæ令级ä¼åæ¹é¢å°æå¾å¤§çæå空é´ãKylin ä¾èµç Spark 社åºä¹æå¾å¼ºç Native Engine éæ±ï¼ä¹è§ä¼°è®¡ï¼Native Engine å¯ä»¥è³å°æåç®åç Kylin 3 å以ä¸æ§è½ï¼å¼å¾æå
¥ã</li>
+ <li>æ´å¤äºåçè½åãKylin 4.0 åªå®æäºåæ¥ä¸äºï¼å®ç°äºäºä¸çå¿«éé¨ç½²ãå¨æèµæºä¼¸ç¼©çåè½ï¼ä½ä»æå¾å¤äºåççè½åè¿æå¾
å¼åã</li>
+</ul>
+
+<h2 id="apache-kylin---">02 Apache Kylin çå®ä½ ââ å¤ç»´æ°æ®åº</h2>
+<p>Kylin çæ ¸å¿æ¯ä¸ä¸ªå¤ç»´æ°æ®åºï¼æ¯ä¸ç§ç¹æ®ç OLAP å¼æãè½ç¶ä»è¯ç以æ¥ï¼Kylin ä¸ç´é½æå
³ç³»æ°æ®åºçè½åï¼ä¹å¸¸å¸¸ä¸å
¶ä»å
³ç³»å OLAP å¼æå对æ¯ï¼ä½çæ£è®© Kylin ä¸ä¼ä¸åçæ¯å®çå¤ç»´æ¨¡ååå¤ç»´æ°æ®åºè½åãèèå° Kylin çæ¬è´¨åæªæ¥å¹¿æ³çä¸å¡ç¨éï¼ä¸ä»
æ¯ææ¯ç¨éï¼ï¼æ们å°æç¡®å®ä½ Kylin 为ä¸ä¸ªå¤ç»´æ°æ®åºãæ们ä¹ææéè¿å¤ç»´æ¨¡ååé¢è®¡ç®ææ¯ï¼Apache Kylin è½è®©æ®é人çå¾æåç¨å¾èµ·å¤§
æ°æ®ï¼æç»å®ç°æ°æ®æ°ä¸»åã</p>
+
+<h3 id="section">è¯ä¹å±</h3>
+<p>å¤ç»´æ°æ®åºä¸å
³ç³»åæ°æ®åºç å
³é®åºå«å¨äºä¸å¡è¡¨è¾¾è½åã尽管 SQL 表达è½åå¾å¼ºï¼æ¯æ°æ®åæå¸çåºæ¬æè½ï¼ä½å¦æ以 â人人é½æ¯åæå¸â 为ç®æ ï¼SQL åå
³ç³»æ°æ®åºå¯¹éææ¯äººåè¿æ¯å¤ªé¾äºãä»éææ¯äººåçè§è§ï¼æ°æ®æ¹åæ°æ®ä»åºå°±å¥½ä¼¼ä¸ä¸ªé»æçæ¿é´ï¼ç¥éå
¶ä¸æå¾å¤æ°æ®ï¼å´å 为ä¸ææ°æ®åºç论å SQLï¼æ æ³çæ¸
ãç解ãå使ç¨è¿äºæ°æ®ã<br />
+å¦ä½è®©æ°æ®æ¹ï¼åæ°æ®ä»åºï¼å¯¹éææ¯äººåä¹ âæ¸
æ¾è§åºâï¼è¿å°±éè¦å¼å
¥ä¸ä¸ªå¯¹éææ¯äººåæ´å å好çæ°æ®æ¨¡å â å¤ç»´æ°æ®æ¨¡åãå¦æ说å
³ç³»æ¨¡åæè¿°äºæ°æ®çææ¯å½¢æï¼é£ä¹å¤ç»´æ¨¡ååæè¿°äºæ°æ®çä¸å¡å½¢æãå¨å¤ç»´æ°æ®åºä¸ï¼åº¦é对åºäºæ¯ä¸ªäººé½æçä¸å¡ææ ï¼ç»´åº¦åæ¯æ¯è¾ãè§å¯è¿äºä¸å¡ææ çè§åº¦ãè¦ä¸ä¸ä¸ªææ¯è¾ KPIï¼è¦å¨å¹³è¡äºä¸é¨ä¹é´æ¯è¾ç»©æï¼è¿äºæ¯æ¯ä¸ªé
ææ¯äººåé½ç解çæ¦å¿µãéè¿å°å
³ç³»æ¨¡åæ å°å°å¤ç»´æ¨¡åï¼æ¬è´¨æ¯å¨ææ¯æ°æ®ä¹ä¸å¢å¼ºäºä¸å¡è¯ä¹ï¼å½¢æä¸å¡è¯ä¹å±ï¼å¸®å©éææ¯äººåä¹è½çæãæ¢ç´¢ã使ç¨æ°æ®ã<br />
+为äºå¢å¼º Kylin ä½ä¸ºå¤ç»´æ°æ®åºçè¯ä¹å±è½åï¼æ¯æå¤ç»´æ¥è¯¢è¯è¨æ¯ Kylin Roadmap ä¸çéç¹å
容ï¼æ¯å¦ MDX å DAXãéè¿ MDX å¯ä»¥å° Kylin ä¸çæ°æ®æ¨¡å转æ¢ä¸ºä¸å¡å好çè¯è¨ï¼èµäºæ°æ®ä¸å¡ä»·å¼ï¼æ¹ä¾¿å¯¹æ¥ ExcelãTableau ç BI å·¥å
·è¿è¡å¤ç»´åæã</p>
+
+<h3 id="section-1">é¢è®¡ç®åçµæ´»ç模å</h3>
+<p>继ç»éè¿é¢è®¡ç®ææ¯éä½åæ¥è¯¢ææ¬ï¼è®©æ®é人ç¨å¾èµ·å¤§æ°æ®ï¼ä¹æ¯ Kylin ä¸åç使å½ãå¦æ说å¤ç»´æ¨¡å解å³äºéææ¯äººåçå¾ææ°æ®çé®é¢ï¼é£ä¹é¢è®¡ç®åè½è§£å³æ®é人ç¨å¾èµ·æ°æ®çé®é¢ï¼ä¸¤è
é½æ¯æ°æ®æ°ä¸»åçå¿
å¤æ¡ä»¶ãéè¿ä¸æ¬¡è®¡ç®å¤æ¬¡ä½¿ç¨ï¼æ°æ®ææ¬å¯ä»¥è¢«å¤ä¸ªç¨æ·åæï¼è¾¾å°ç¨æ·è¶å¤è¶ä¾¿å®çè§æ¨¡æåºãé¢è®¡ç®æ¯ Kylin çä¼ ç»å¼ºé¡¹ï¼ä½æ¯å¨é¢è®¡ç®æ¨¡åçåæ´æ¹é¢ç¼ºä¹ä¸å
®ççµæ´»æ§ï¼ä¸ºäºå 强 Kylin ç模åççµæ´»åæ´è½åï¼å¹¶å¸¦æ¥æ´å¤å¯ä¼åç空é´ï¼Kylin 社åºé¢è®¡å¨æªæ¥ç Kylin ä¸æåºå
¨æ°çå
æ°æ®ç»æï¼ä½¿é¢è®¡ç®æ´çµæ´»ï¼è½å¤åºå¯¹éæ¶å¯è½åçååç表ç»ææè
ä¸å¡éæ±ã</p>
+
+<h3 id="section-2">æ»ç»</h3>
+<p>综ä¸ï¼æ们å°æç¡® Kylin çææ¯å®ä½æ¯ä¸ä¸ªå¤ç»´æ°æ®åºï¼éè¿å¤ç»´æ¨¡ååé¢è®¡ç®ææ¯ï¼è®©æ®é人çå¾æåç¨å¾èµ·å¤§æ°æ®ï¼æç»å®ç°æ°æ®æ°ä¸»åçç¾å¥½æ¿æ¯ãåæ¶ï¼å¯¹äºä»å¤©å° Kylin ç¨ä½ SQL å éå±çç¨æ·ï¼Kylin å°ç»§ç»ä¿æå®å¤ç SQL æ¥å£ï¼ä¿è¯é¢è®¡ç®ææ¯å¯ä»¥åæ¶è¢«å
³ç³»æ¨¡ååå¤ç»´æ¨¡å使ç¨ã<br />
+å¨ä¸å¾ä¸ï¼æ们è½æ¸
æ°å°çå°æªæ¥ Kylin å
³æ³¨çæ¹åï¼æ°å¢åä¿®æ¹çé¨å大è´ä½¿ç¨èè²åæ©è²æ 示åºæ¥ã</p>
+
+<p><img src="/images/blog/the_future_of_kylin.png" alt="" /></p>
+
+<h2 id="apache-kylin--1">03 Apache Kylin å级计å</h2>
+<p>åºäº Kylin ä½ä¸ºä¸ä¸ªå¤ç»´æ°æ®åºçå®ä½ï¼ç»åå½å Kylin åå¨çæå¾
å 强çè½åï¼åæ¶ä¸ºäºæ¯æ Schema Change çç¨æ·æå¾
å·²ä¹
çåè½ï¼æ们计åå¨æªæ¥ç Kylin ä¸å¼å
¥æ°ç DataModel çå
æ°æ®ç»æï¼ä¸ååç¨æ·æ´é² Cube çå
æ°æ®ï¼å°å
æ°æ®ä¾èµå
³ç³»ç®å为 Model -&gt; Table ã<br />
+ç±äºå
æ°æ®æ¯ç¤¾åºåç»åä½å¼åçåºç¡åå¥çº¦ï¼å
¨æ°å
æ°æ®ç»æç设计å¼åå°ä¼æ¯å½å以åä»åå 个æå
Kylin 社åºå·¥ä½çéç¹ï¼å
æ°æ®è®¾è®¡ä»¥å讨论ææ¡£ä¼å¨ä¸ä¸ªæå
åå¸ï¼æ¬¢è¿å¤§å®¶è¸è·åä¸è®¨è®ºï¼ä¸åºæå¤å°è¯ 2022 å¹´æ°çå
æ°æ®ç»æå°±ä¼ä¸å¤§å®¶è§é¢ï¼æ¬è¯·æå¾
ã<br />
+é¤äºå
æ°æ®ç»æå级以å¤ï¼åå
æ°æ®å级é
å¥çæ建åæ¥è¯¢å¼æãè¯ä¹å±è½åï¼MDXï¼ãä¸ BI å·¥å
·æ´å¥½éæãNative Engine çä¹æ¯ Kylin 社åºä¸ç´å¨ç§¯ææ¨è¿çéç¹å·¥ä½ï¼æ¬¢è¿æ´å¤å¿åéåçå°ä¼ä¼´åä¸è¿æ¥ï¼å
±å社åºã</p>
+
+<p>** Further Reading **<br />
+- https://en.wikipedia.org/wiki/Data_model<br />
+- https://en.wikipedia.org/wiki/Semantic_layer<br />
+- https://en.wikipedia.org/wiki/Multidimensional_analysis<br />
+- https://en.wikipedia.org/wiki/MultiDimensional_eXpressions<br />
+- https://en.wikipedia.org/wiki/XML_for_Analysis<br />
+- https://en.wikipedia.org/wiki/SIMD<br />
+- https://en.wikipedia.org/wiki/Cloud_native_computing<br />
+- https://blogs.gartner.com/carlie-idoine/2018/05/13/citizen-data-scientists-and-why-they-matter/</p>
+</description>
+ <pubDate>Wed, 12 Jan 2022 03:00:00 -0800</pubDate>
+ <link>http://kylin.apache.org/cn_blog/2022/01/12/The-Future-Of-Kylin/</link>
+ <guid isPermaLink="true">http://kylin.apache.org/cn_blog/2022/01/12/The-Future-Of-Kylin/</guid>
+
+
+ <category>cn_blog</category>
+
+ </item>
+
+ <item>
<title>Kylin4 äºä¸æ§è½ä¼åï¼æ¬å°ç¼åå软亲åæ§è°åº¦</title>
<description><h2 id="section">01 èæ¯ä»ç»</h2>
<p>æ¥åï¼Apache Kylin 社åºåå¸äºå
¨æ°æ¶æç Kylin 4.0ãKylin 4.0 çæ¶ææ¯æåå¨å计ç®å离ï¼è¿ä½¿å¾ kylin ç¨æ·å¯ä»¥éåæ´å çµæ´»ã计ç®èµæºå¯ä»¥å¼¹æ§ä¼¸ç¼©çäºä¸é¨ç½²æ¹å¼æ¥è¿è¡ Kylin 4.0ãåå©äºä¸çåºç¡è®¾æ½ï¼ç¨æ·å¯ä»¥éæ©ä½¿ç¨ä¾¿å®ä¸å¯é ç对象åå¨æ¥å¨å cube æ°æ®ï¼æ¯å¦ S3 çãä¸è¿å¨åå¨ä¸è®¡ç®å离çæ¶æä¸ï¼æ们éè¦èèå°ï¼è®¡ç®èç¹éè¿ç½ç»ä»è¿ç«¯åå¨è¯»åæ°æ®ä»ç¶æ¯ä¸ä¸ªä»£ä»·è¾å¤§çæä½ï¼å¾å¾
ä¼å¸¦æ¥æ§è½çæèã<br />
@@ -1032,155 +1144,6 @@ Here is a brief introduction to the prin
<category>blog</category>
-
- </item>
-
- <item>
- <title>ä½ ç¦»å¯è§åé
·ç«å¤§å±åªå·®ä¸å¥ Kylin + Davinci</title>
- <description><p>Kylin æä¾ä¸ BI å·¥å
·çæ´åè½åï¼å¦ Tableauï¼PowerBI/Excelï¼MSTRï¼QlikSenseï¼Hue å SuperSetãä½å°±å¯è§åå·¥å
·èè¨ï¼Davinci è¯å¥½ç交äºæ§å个æ§åçå¯è§å大å±å±ç°ææï¼ä½¿å
¶ä¸ Kylin çç»åè½è®©å¤§é¨åç¨æ·ææ´å¥½çå¯è§ååæä½éªã</p>
-
-<p>Davinci æ¯å½å
å¼æºç大æ°æ®å¯è§åå¹³å°ï¼æ¯ä¸æ¬¾åºäº webï¼æä¾ä¸ç«å¼æ°æ®å¯è§å解å³æ¹æ¡çå¹³å°ï¼Java ç³»ãç¨æ·åªéå¨å¯è§å UI ä¸ç®åé
ç½®å³å¯æå¡å¤ç§æ°æ®å¯è§ååºç¨ï¼å¹¶æ¯æé«çº§äº¤äº/è¡ä¸åæ/模å¼æ¢ç´¢/社交æºè½çå¯è§ååè½ã详æ
请访é®å
¶å®æ¹ç½ç«ï¼https://edp963.github.io/davinci/ï¼ã</p>
-
-<h3 id="section">ä¸è½½ä¸å®è£
</h3>
-<p>å®ä¿¡å¨ 2018 å¹´ 4 æåå¸äº Davinci ç第ä¸ä¸ªæ£å¼çæ¬ V0.1.0ï¼ç®åä¸ºæ¢ Davinci çæ£å¼åå¸çæ¬æ¯ v0.2.1ï¼å
¶æ¬¡å°±æ¯ v0.3 ç³»åçæµè¯çãDavinci èª 0.2.1 çæ¬ä¹åå¼å§æ¯æ对 Kylin çè¿æ¥ãéè¿å¯¹æ¯å¯ä»¥åç°ï¼0.2 çæ¬åªæ¯ç®åå°å®ç°äºæ°æ®å¯è§åæ¥è¡¨ï¼å
¶åè½ä¸å
¨ï¼ç¨æ·äº¤äºæ§å·®ãä½éåç 0.3 çæ¬å¨ä¸æå°å®åå¹³å°åè½ï¼å¯ä»¥è¯´ä½¿ç¨è¿ç¨ä¸ä½éªæè¯å¥½ï¼åè½æ¯è¾é½å
¨ã并ä¸å®æ¹å¨ä¸æå°è¿è¡çæ¬çæ´æ°ä¸ï¼æä»
¥å¯¹äºå次æ¥è§¦ Davinci åæ³æ¥æèªå®ä¹ä»ªè¡¨çå大å±ææç人群ï¼æ´å»ºè®®ä½¿ç¨ææ°ç v0.3 ç³»åã</p>
-
-<p>é¨ç½²ä¹åï¼å®è£
ç¯å¢è¦å
å« JDKï¼MySQLï¼Mail Serverï¼PhantomJsãç¶åï¼å°å®ç½ç»å®ç github ç½ç«ä¸ä¸è½½ææ°åå¸ç软件å
ï¼è§£åå°èªå®ä¹çå®è£
ç®å½ä¸ï¼å¹¶é
ç½® davinci çç¯å¢åéãåæ¶ï¼ä¿®æ¹ bin ç®å½ä¸ initdb.sh ä¸æ°æ®åºä¿¡æ¯ä¸ºè¦åå§åçæ°æ®åºï¼è¿è¡èæ¬åå§åæ°æ®åºï¼sh bin/initdb.sh</p>
-
-<p>ä¹åï¼è¿å
¥å°configæ件夹ä¸ï¼å° application.yml.example éå½å为 application.yml åå¼å§é
ç½®ãå¦ï¼è®¿é®å°åå端å£å·ï¼é»è®¤ç«¯å£å·ä¸º 8080ï¼å¯èªå®ä¹ï¼ï¼æ°æ®æºçé
ç½®ã详ç»çé
ç½®é¨ç½²è¯·åèå®ç½è¯´æï¼https://edp963.github.io/davinci/deployment.htmlï¼ï¼å®æé¨ç½²åãå¨ bin ç®å½ä¸æ§è¡ sh start-server.sh å½ä»¤å¯å¨ Davinci æå¡ã</p>
-
-<p>æåï¼æå¼æµè§å¨ï¼è®¿é®å°åï¼http://{é
ç½®çå°å}:{é
ç½®ç端å£å·}ï¼å³å¯è¿å
¥ Davinciï¼æ°ç¨æ·è¿è¡æ³¨åå³å¯ä½¿ç¨è¯¥æå¡ã<br />
-<img src="/images/blog/davinci/login.png" alt="" /></p>
-<center>ç»éçé¢</center>
-
-<h3 id="kylin">è¿æ¥ Kylin</h3>
-<p>Davinci çå®æ¹ç½ç«ä»ç»å
¶æ¯æ JDBC æ°æ®æºè¿æ¥ï¼è¿å°±ä¸º kylin çè¿æ¥æä¾äºå¯è½ãDavinci é»è®¤å¯æ¯æçæ°æ®æºä¸å
æ¬ kylinï¼ä½æ¯æä¾äºèªå®ä¹æ°æ®æºé
ç½®æ件ãé¦å
ï¼è¿å
¥ lib ç®å½ä¸æ·»å kylin-jdbc å
ï¼å
¶æ¬¡ï¼è¿å
¥configç®å½ä¸ï¼æ´æ¹datasource_driver.yml.exampleæ件å为datasource_driver.yml 使å
¶çæï¼å¹¶å¨æ件éé
ç½®Kylin ç¸å
³ä¿¡æ¯ï¼å¦ä¸ï¼<br />
-<code class="highlighter-rouge">
-kylin:
- name: kylin
- desc: kylin
- driver: org.apache.kylin.jdbc.Driver
- keyword_prefix: \"
- keyword_suffix: \"
- alias_prefix: \"
- alias_suffix: \"
-</code><br />
-éå¯æå¡ï¼ä½¿é
ç½®çæã</p>
-
-<p>æåï¼å¯åä¸ä¸ªç®åçæ°æ®è¿æ¥æµè¯æ¥éªè¯æ¯å¦è¿æ¥æåãå¨ Source é¨åæ·»å æ°æ®æº kylin 并填åç¸å
³çç¨æ·åï¼å¯ç ï¼url å°åçä¿¡æ¯æ¥è¿è¡è¿æ¥æµè¯ï¼å¦ä¸å¾æ示ï¼<br />
-<img src="/images/blog/davinci/connect.png" alt="" /></p>
-<center>æ°æ®æºè¿æ¥</center>
-<p>è¿æ¥æååï¼æ¥çå¨ View å±è¾å
¥æ¥è¯¢ SQL è¯å¥ï¼ç¹å»å³ä¸è§çæ§è¡æé®å³å¯ãå¦ä¸å¾ï¼<br />
-<img src="/images/blog/davinci/query.png" alt="" /></p>
-
-<h3 id="section-1">å¶ä½æ°æ®ä»ªè¡¨çå大å±å±ç¤º</h3>
-<p>Davinci 为ç¨æ·æä¾äºä¸¤ç§èªå®ä¹çæ¥è¡¨å½¢å¼ï¼ä¸ç§æ¯å¸¸è§çå¯ä»¥èªç±å¸å±çæ¥è¡¨ï¼dashbordï¼ï¼é¤æ¤ä¹å¤ï¼è¿æä¾äºç¨æ·å¯èªå®å¶ç大å±å±ç°å½¢å¼ï¼displayï¼ã</p>
-
-<p>æ们å¯ä»¥å©ç¨ Widget å±ä¸°å¯çå¾è¡¨æ¥å±ç° View å±çæ°æ®ï¼è¿èæ ¹æ®éæ±å¶ä½ä¸åå±ç°å½¢å¼çæ¥è¡¨ãé£ä¹å¨ Widget å±ï¼æ们å¯ä»¥éè¿ææ½çæ¹å¼ï¼ä¸ºä¸å维度çæ°æ®éæ©éåçå¾åè¿è¡å±ç¤ºã仪表çï¼Dashbordï¼çå±ç°å¦ä¸å¾ï¼<br />
-<img src="/images/blog/davinci/dashboard.png" alt="" /></p>
-<center>æ°æ®ä»ªè¡¨ç</center>
-<p>å¦æç¨æ·éè¦æ´å é
·ç«ç大å±å±ç°å½¢å¼ï¼æ们å¯ä»¥ä½¿ç¨ Display æ¥æå¨å®å¶æ¥è¡¨çå±ç°å½¢å¼ï¼å¦ä¸å¾ï¼<br />
-<img src="/images/blog/davinci/setting.png" alt="" /></p>
-<center>Display åè½åº</center>
-<p>å
¶ä¸ï¼<br />
-ç½æ ¼åºåï¼å¸ç½®ç»å¸åºåï¼ææå±ç°åºå<br />
-èè²åºåï¼æ·»å Widget å±å¶ä½çå¾è¡¨ï¼æ·»å è¿ç¨ä¸æ们å¯ä»¥èªå®ä¹å®æ¶å·æ°æ°æ®ï¼<br />
-红è²åºåï¼æ·»å è¾
å©å¾å½¢ï¼å¦ï¼ææ¬ç¼è¾æ¡ï¼ç©å½¢ï¼<br />
-绿è²åºåï¼ç»å¸ä¸ä¸åå
ç´ çå¾å±è®¾ç½®ï¼<br />
-é»è²åºåï¼å¤§å±çèæ¯è®¾ç½®åºåï¼å
æ¬å±å¹ç尺寸ï¼ç¼©æ¾è§åï¼èæ¯é¢è²ï¼æ·»å èæ¯å¾çï¼æªåå°ç®ã</p>
-
-<p>éè¿è¿äºåè½ï¼æ们å¯ä»¥è½»è½»æ¾æ¾å°å®å¶åºç¬¦ååºæ¯éæ±çå¨æ大å±å±ç¤ºææãå¦ä¸ç¤ºä¾ï¼<br />
-<img src="/images/blog/davinci/monitor.png" alt="" /></p>
-
-<h3 id="section-2">æ»ç»</h3>
-<p>Kylin æ¬èº«ä¹æä¾ç®åçå¾è¡¨å±ç¤ºï¼ä¾å¦ï¼é¥¼å¾ï¼æ±ç¶å¾çãä½å¹¶ä¸è½æ»¡è¶³å¤§å¤æ°ç¨æ·çéæ±ï¼éè¿ Kylin+Davinci çç»åï¼æ们å¯ä»¥å° Kylin å¿«éæ¥è¯¢ç¹ç¹ä¸ Davinci å¤æ ·åå个æ§åçå±ç¤ºææå
åçæ´åèµ·æ¥ï¼ä»è满足æ´å¤ç¨æ·çéæ±ï¼å好大æ°æ®åææåä¸ç«çæå¡å·¥ä½ã</p>
-
-<p>é£ä¹æ¬æ¬¡éæ© Davinci æ¥åæ°æ®å¯è§åå±ç°ï¼ä¸æ¯ç±äºå
¶èªèº«ä¸°å¯çåè½åä¸ç«å¼çå¯è§ååæå±ç°ãåè
ï¼å
¶å¼æºçæ§è´¨åå¼åçè¯è¨ï¼ä¸ºå¤§å¤æ°å¼åè
æä¾äºæ´å¤çå¯è½ï¼å¦æä½ å欢ï¼é£ä¹ä½ å°±å¯ä»¥å¨å
¶åºç¡ä¸è¿è¡äºæ¬¡å¼åï¼æ¥æ»¡è¶³èªå·±çåºæ¯ã</p>
-</description>
- <pubDate>Fri, 29 Nov 2019 07:00:00 -0800</pubDate>
- <link>http://kylin.apache.org/cn_blog/2019/11/29/Davinci-Kylin-Insight/</link>
- <guid isPermaLink="true">http://kylin.apache.org/cn_blog/2019/11/29/Davinci-Kylin-Insight/</guid>
-
-
- <category>cn_blog</category>
-
- </item>
-
- <item>
- <title>Connecting Tableau Desktop and Tableau Server with Apache Kylin</title>
- <description><h2 id="background">Background</h2>
-
-<p>This document describes how to connect Tableau to Apache Kylin OLAP server, particularly (but not only) in live mode to use both reporting and analytics features of Tableau together with Apache Kylinâs fast query processing engine. The configuration is platform independent - it works for both Windows and Linux installations of Tableau Server.</p>
-
-<p>For the time of writing this guide we tested that it works with Kylin 3.0.0 and Tableau Server 2019.1.</p>
-
-<h2 id="prerequisites">Prerequisites</h2>
-
-<h3 id="apache-kylin-jdbc-driver">Apache Kylin JDBC Driver</h3>
-
-<p>First we need to get Apache Kylin JDBC Driver - kylin-jdbc-X.Y.Z.jar file. You can either get it from the compiled package available on the download page http://kylin.apache.org/download/ from <code class="highlighter-rouge">lib</code> folder or compile it on your own using instructions below.</p>
-
-<p><em>Note</em>: To make JDBC driver work properly, there has been a fix recently https://github.com/apache/kylin/pull/739 that upgraded one of the libraries used by the driver. The fix was applied for version 3, so if for some reason you need a jar for earlier version, you have to apply the fix on the lower versionâs codebase and compile yourself.</p>
-
-<h4 id="compiling-apache-kylin-jdbc-driver">Compiling Apache Kylin JDBC Driver</h4>
-
-<div class="highlighter-rouge"><pre class="highlight"><code>git clone https://github.com/apache/kylin.git
-cd kylin
-mvn clean package -DskipTests -am -pl jdbc
-</code></pre>
-</div>
-
-<p>The compiled jar is located in the following location: <code class="highlighter-rouge">jdbc/target/kylin-jdbc-X.Y.Z.jar</code></p>
-
-<h3 id="tableau-server-on-linux">Tableau Server on Linux</h3>
-
-<p>If you have installed Tableau Server in a Linux box, e.g. CentOS, copy the driverâs jar file to the following location: <code class="highlighter-rouge">/opt/tableau/tableau_driver/jdbc/</code> and restart Tableau Server. <br />
-The server is now ready to create and refresh data from Apache Kylin.</p>
-
-<h3 id="tableau-server-and-tableau-desktop-on-windows">Tableau Server and Tableau Desktop on Windows</h3>
-
-<p>For either Tableau Server or Tableau Desktop that is installed on a Windows machine, copy the driverâs jar file to the following location <code class="highlighter-rouge">C:\Program Files\Tableau\Drivers</code> and restart Tableau Server or reopen Tableau Desktop.</p>
-
-<p>Some more details regarding jdbc connection from Tableau are well described in Tableauâs documentation: https://onlinehelp.tableau.com/current/pro/desktop/en-us/examples_otherdatabases_jdbc.htm.</p>
-
-<h2 id="creating-report-in-tableau-desktop---connecting-to-apache-kylin">Creating report in Tableau Desktop - connecting to Apache Kylin</h2>
-
-<p>To create report follow the steps:<br />
-1. Open Tableau Desktop<br />
-2. Use âOther Databases (JDBC)â to create connection for the data source<br />
-<img src="/images/blog/kylin-tableau/tableau_other_databases_jdbc.jpg" alt="Other Databases (JDBC)" /><br />
-3. Configure the connection in the following way:<br />
-- URL: <code class="highlighter-rouge">jdbc:kylin://&lt;kylin-server-name&gt;:&lt;kylin-port&gt;/&lt;project&gt;</code><br />
-- Dialect: <code class="highlighter-rouge">SQL92</code><br />
-<img src="/images/blog/kylin-tableau/tableau_kylin_connection.jpg" alt="Datasource connection" /><br />
-4. Configure data source as follows:<br />
-- Database: <code class="highlighter-rouge">defaultCatalog</code><br />
-- Schema: <code class="highlighter-rouge">DEFAULT</code><br />
-You should be able to see the tables/cubes in the Apache Kylinâs project<br />
-<img src="/images/blog/kylin-tableau/kylin_jdbc_tableau_working.jpg" alt="Data source" /><br />
-<strong>Important</strong>: Decide if you want the data source be in <code class="highlighter-rouge">live</code> or <code class="highlighter-rouge">extract</code> mode. Some of the functions might not work in <code class="highlighter-rouge">live</code> mode as for the other data sources - itâs just how Tableau works. Recommendation is to start with <code class="highlighter-rouge">live</code> mode to utilize performance of Apache Kylin. If youâre forced to switch to <code class="highlighter-rouge">extract</code> mode - consider creating a custom query against Apache Kylinâs cubes to retrieve as small amount of data as possible as it will help the report to perform well.<br />
-5. Finish designing your data source and then switch to worksheets, dashboards</p>
-
-<p><img src="/images/blog/kylin-tableau/kylin_jdbc_tableau_working_sheet.jpg" alt="Tableau Desktop" /></p>
-
-<h2 id="publishing-reports-from-tableau-desktop-to-tableau-server">Publishing reports from Tableau Desktop to Tableau Server</h2>
-
-<p>To publish the data source and the report follow these steps:<br />
-1. In Tableau Desktop from top menu select Server -&gt; Publish<br />
-2. Choose the settings for publishing like Project, select sheets<br />
-3. <strong>Important</strong>: For data source Authentication set <code class="highlighter-rouge">Embedded</code> - this is very important for data refresh to work, however keep in mind that the credentials will be embeded in the report then<br />
-4. Publish the report<br />
-5. Pop up should be displayed with the preview of the report rendered by the server</p>
-
-<p><img src="/images/blog/kylin-tableau/kylin_jdbc_tableau_server.jpg" alt="Tableau Server" /></p>
-
-<p>Verify if the report is displaying properly and can connect to Apache Kylin correctly by opening it directly in Tableau Server web application.</p>
-</description>
- <pubDate>Sun, 22 Sep 2019 13:30:00 -0700</pubDate>
- <link>http://kylin.apache.org/blog/2019/09/22/kylin-tableau/</link>
- <guid isPermaLink="true">http://kylin.apache.org/blog/2019/09/22/kylin-tableau/</guid>
-
-
- <category>blog</category>
</item>
Added: kylin/site/images/blog/the_future_of_kylin.png
URL: http://svn.apache.org/viewvc/kylin/site/images/blog/the_future_of_kylin.png?rev=1897192&view=auto
==============================================================================
Binary file - no diff available.
Propchange: kylin/site/images/blog/the_future_of_kylin.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream