Kylin-web上的数据分析

Kylin Web Interface

Supported Browsers
Windows: Google Chrome, FireFox
Mac: Google Chrome, FireFox, Safari

1. Access & Login

Host to access: http://hostname:7070
Login with username/password: ADMIN/KYLIN

2. Sync Hive Table into Kylin

Although Kylin will using SQL as query interface and leverage Hive metadata, kylin will not enable user to query all hive tables since it’s a pre-build OLAP (MOLAP) system so far. To enable Table in Kylin, it will be easy to using “Sync” function to sync up tables from Hive.

3. Kylin OLAP Cube

Kylin’s OLAP Cubes are pre-calculation datasets from star schema tables, Here’s the web interface for user to explorer, manage all cubes. Go to Model menu, it will list all cubes available in system:

To explore more detail about the Cube

  • Form View:

  • SQL View (Hive Query to read data to generate the cube):

  • Access (Grant user/role privileges, grant operation only open to Admin):

4. Write and Execute SQL on web

Kylin’s web offer a simple query tool for user to run SQL to explorer existing cube, verify result and explorer the result set using #5’s Pivot analysis and visualization

Query Limit

  1. Only SELECT query be supported

  2. SQL will not be redirect to Hive

Go to “Insight” menu:

  • Source Tables:

    Browser current available tables (same structure and metadata as Hive):

  • New Query:

    You can write and execute your query and explorer the result.

  • Saved Query (only work after enable LDAP security):

    Associate with user account, you can get saved query from different browsers even machines.
    Click “Save” in Result area, it will popup for name and description to save current query:

    Click “Saved Queries” to browser all your saved queries, you could direct submit it or remove it.

  • Query History:

    Only keep the current user’s query history in current bowser, it will require cookie enabled and will lost if you clean up bowser’s cache. Click “Query History” tab, you could directly resubmit any of them to execute again.

5. Pivot Analysis and Visualization

There’s one simple pivot and visualization analysis tool in Kylin’s web for user to explore their query result:

  • General Information:

    When the query execute success, it will present a success indictor and also a cube’s name which be hit.
    Also it will present how long this query be executed in backend engine (not cover network traffic from Kylin server to browser):

  • Query Result:

    It’s easy to order on one column.

  • Export to CSV File

    Click “Export” button to save current result as CSV file.

  • Pivot Table:

    Drag and drop one or more columns into the header, the result will grouping by such column’s value:

  • Visualization:

    Also, the result set will be easy to show with different charts in “Visualization”:

    note: line chart only available when there’s at least one dimension with real “Date” data type of column from Hive Table.

    • Bar Chart:

    • Pie Chart:

    • Line Chart

优秀的个人博客,低调大师

微信关注我们

原文链接:https://yq.aliyun.com/articles/232643

转载内容版权归作者及来源网站所有!

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

相关文章

发表评论

资源下载

更多资源
优质分享Android(本站安卓app)

优质分享Android(本站安卓app)

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS,或简称Oracle。是甲骨文公司的一款关系数据库管理系统。它是在数据库领域一直处于领先地位的产品。可以说Oracle数据库系统是目前世界上流行的关系数据库管理系统,系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。它是一种高效率、可靠性好的、适应高吞吐量的数据库方案。

Eclipse(集成开发环境)

Eclipse(集成开发环境)

Eclipse 是一个开放源代码的、基于Java的可扩展开发平台。就其本身而言,它只是一个框架和一组服务,用于通过插件组件构建开发环境。幸运的是,Eclipse 附带了一个标准的插件集,包括Java开发工具(Java Development Kit,JDK)。

Java Development Kit(Java开发工具)

Java Development Kit(Java开发工具)

JDK是 Java 语言的软件开发工具包,主要用于移动设备、嵌入式设备上的java应用程序。JDK是整个java开发的核心,它包含了JAVA的运行环境(JVM+Java系统类库)和JAVA工具。