反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

APACHE KYLIN data connection

  • Recent Updates: April 15, 2022
  • 1. Overview

    Apache Kylin is an open source distributed analysis engine that provides SQL query interfaces and multidimensional analysis (OLAP) capabilities on Hadoop to support ultra-large-scale data. It can handle terabytes or even petabytes of analysis tasks, and can query huge data of Hive tables in sub-seconds, and support high concurrency.

    This article describes how to connect to the Apache Kylin database in FineBI.

    2. Data connection

    2.1 Configuration information

    Database version

    Driver

    URL

    Download driver

    V1.5.0 ;V2.2

    org.apache.kylin.jdbc.Driver

    jdbc:kylin://<hostname>:<port>/<kylin_project_name>

    kylin-jdbc-1.6.0.jar

    2.2 Steps

    1) Download the driver of Apache Kylin, and place the driver under %FineBI%\webapps\webroot\WEB-INF\lib, and restart FineBI.

    2) Log into the data decision system, select "Manage>Data Connection>Data Connection Management", click "New Data Connection", and select "APACHE KYLIN" under "All", as shown in the following figure:

    Note: If a non-administrator user wants to configure a data connection, the administrator needs to assign the authority to the "Data Connection" under the "Manage". For specific operations, please see: Data Connection Control.

    1.png

    3) According to the configuration information provided above, enter the corresponding information of the database, and you can choose to fill in the advanced setting information (for related introduction, please refer to: Configure Data Connection), as shown in the following figure:

    2.png

    4) Click "Test Connection", or click "Click to Connect Database" under the "Pattern", if the test connection is successful, it means that the database is successfully connected, as shown in the following figure:

    3.png

    5) After the test connection is successful, you can select the pattern, and select the corresponding pattern according to your needs. If you do not select, the first mode will be the default. As shown below:

    4.png

    6) After the pattern is selected, click "Save" in the upper right corner, and the data connection is added successfully. As shown below:

    5.png

    3. Precautions

    3.1 Jet lag

    1) Problem description

    No matter where the time zone is set, kylin will force the data to be set to Greenwich Mean Time, so there is always a time difference of 8 hours. For example, the query result of kylin is 2018-01-01, and the query result obtained by fetching the number is 2017-12-31.

    2) Solution

    Adding 8h in the SQL statement manually.

    Attachment List


    Theme: Data Connection
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭