From the version 5.2 onwards of Open Source BI Helical Insight, we are directly supporting DuckDB out of the box. Hence the steps mentioned in this blog are not required. In the below image we have highlighted from where you can find out about the current version of your Helical Insight instance.

Helical Insight usage with SAP HANA

Connection string looks like below

How to connect Duck DB to Open Source BI Helical Insight

URL: jdbc:duckdb:C:\Users\Admin\Downloads\duckdb
Datasource Name: can be anything
Username and Password: Put username and password here. Leave it blank if not applicable

If you are using version older than version 5.2, then only you need to read this blog further in order to make it compatible with DuckDB.

In this blog we will talk connecting Open Source BI product Helical Insight with Duck DB for creating various kind of reports, dashboards and other analytics.

What is Duck DB

DuckDB is a free, open-source, and in-memory analytical database management system (DBMS).DuckDB is an embedded online analytical processing (OLAP). It has been described as the SQLite for analytics. SQLite is a popular solution for RDBMS because it’s embedded, meaning that it has minimal setup required, and you can get started within minutes.

Features of Duck DB

  1. DuckDB is an embedded solution, so it is super easy to install.
  2. It has two main forms of data processing systems;
    Online Transaction Processing (OLTP) and
    Online Analytical Processing (OLAP).
    OLTP supports user-facing applications as queries are short and fast,
    OLAP is typically used for analyzing massive amounts of data.
  3. They also aim to stay as compatible as possible with the SQL syntax already widely used in the industry, like SQLite, MySQL, and PostgreSQL.
  4. DuckDB provides ACID properties giving you guarantees on your transactions, so it doesn’t fetch back incorrect results.
  5. DuckDB runs on a CLI or a Python library, you don’t need any type of management.

Installation of Duck DB

Click below link to download the Duck DbCli Version

https://github.com/duckdb/duckdb/releases/download/v0.9.2/duckdb_cli-windows-amd64.zip

Run the DuckDBapplication to open Cliversion and access

Connect Duck DB to Helical Insight

As Helical Insight is a Java-based open-source business intelligence framework. We required JDBC driver to connect

Download JDBC driver of duck db either from the direct download link here:

https://repo1.maven.org/maven2/org/duckdb/duckdb_jdbc/0.9.2/duckdb_jdbc-0.9.2.jar

OR you can visit Maven and from there you can downlod the latest JAR JDBC drivern file. Click on jar button on files category to download jar file

How To Connect Duck DBtoOpen Source BI Helical Insight

Now in Helical Insight UI go to Data sources

How To Connect Duck DBtoOpen Source BI Helical Insight

In list of Data Sources check the required driver if not there go to end and you can see add driver option and click on that

How To Connect Duck DBtoOpen Source BI Helical Insight

After clicking on that add driver you can see a new tab there

How To Connect Duck DBtoOpen Source BI Helical Insight

Up on Click on Upload driver and select the downloaded duckdb_jdbc driver
And doing hard of the data sources page you will be able to see the Duckdb driver in Data sources

How To Connect Duck DBtoOpen Source BI Helical Insight

Now click on that Duckdb driver and give the required details and username and password and Data source name and Test the connection

How To Connect Duck DBtoOpen Source BI Helical Insight

After getting Connection successful, Save the Datasource. Below we have provided connection details

URL: jdbc:duckdb:C:\Users\Admin\Downloads\duckdb

Datasource Name: can be anything

Username and Password: Put username and password here. Leave it blank if not applicable

Setting Up Configuration Files in Backend:

Helical Insight requires efwd, XML and JS files to access Metadata and Functions of DuckDB

Link: duckdb.zip

1. EFWD FILE:

Path: “..\hi\hi-repository\System\Admin\DbConfig”

Go to this path and add(paste) the downloaded duckdb.efwd file

2. XML and JS files:

Path: “..\hi\hi-repository\System\Admin\SqlFunctions”

Go to this path and paste the add(paste) the duckdb.xml and duckdb.js file

3. Configuring Files:

STEP1: Now we need to map those files with driver class

Path: “..\hi\hi-repository\System\Admin\sqlDialects.properties”

Open sqlDialects.properties and add below text

#DuckDB
org.duckdb.DuckDBDriver=org.hibernate.dialect.PostgreSQLDialect

Ex: line no 45,46

How To Connect Duck DBtoOpen Source BI Helical Insight

add save the file (required administrator access).

4. Now Lets map the driver class with XML function file

Path: “..\hi\hirepository\System\Admin\sqlFunctionsXmlMapping.properties”

Go to the above path and open sqlFunctionsXmlMapping.properties and add below text

#DuckDB
org.duckdb.DuckDBDriver=duckdb

Ex:

How To Connect Duck DBtoOpen Source BI Helical Insight

add save the file (required administrator access).

After completing above steps need to restart the Helical Insight application

Restarting in Windows: By putting “Services.msc” in run bar you can open the list of services.Steps: search ‘Services’ in search bar

Now you can see list of services running find Helical Insight and right click and restart it will few seconds to restart

How To Connect Duck DBtoOpen Source BI Helical Insight

After restarting you can access Duckdb metadata and functions at report level in Helical Insight. You can create metadata and start creating reports.

In a similar way for restarting Helical Insight service on linux machine,

For Linux , to check the status of the service, run the following command:

service HelicalInsight status

You can restart the service by running the following set of commands:

service HelicalInsight stop
service HelicalInsight start

Please note that all the above commands must be run with sudo permissions.

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered