DbVisualizer SQL tool
Applies to: Kyvos Enterprise Kyvos Cloud (SaaS on AWS) Kyvos AWS Marketplace
Kyvos Azure Marketplace  Kyvos GCP Marketplace Kyvos Single Node Installation (Kyvos SNI)
Kyvos supports the DbVisualizer SQL tool to query on the Kyvos semantic model.Â
To connect DBVisualizer to Kyvos Server, perform the following steps.Â
Configuring the Hive driver is a one-time activity
Download the DbVisualizer tool. Â
Install and launch DbVisualizer.Â
Configure the Hive driver.
For this, do the following:Â
If you don't have the Hive driver, go to Tools > Driver Manager and search for Hive driver from the list. Click the link and then Download it.Â
OR
If you already have the Hive driver, add the driver file from the location where you have saved the driver. To add the driver, go to Tools > Driver Manager and search for Hive driver from the list. After selecting the driver, click the Plus sign to add the driver file, and click ok.ÂÂ
Go to the DbVisualizer Home page, and select Create new Database connection.
After adding the Hive driver, enter the following information to create a new connection:
Name: Provide a connection name.Â
Settings Format: Select Database URL.
Driver Type: Select Hive.
Database URL: jdbc:hive2//hostname:port/;transportMode=http;httpPath=kyvos/sql
In the case of SSL enabled server, enter the URL as: jdbc:hive2//hostname:port/;transportMode=http;httpPath=kyvos/sql; ssl=trueProvide your respected Database user and password.
Click Connect to initiate the connection.
After establishing the connection, you can run SQL queries on the Kyvos semantic model using the SQL commander.
Running a SQL queryÂ
Go to SQL Commander Tab > select New SQL Commander.Â
Select the required connection from the Database Connection list on which you want to run a query. Â
Write a SQL query on the right of the window. Select the query, and then click Execute the Buffer as an SQL Script. Alternatively, you can also press the CTRL+ Enter key to execute the SQL query.Â
You will see the result for the executed SQL query.Â
Copyright Kyvos, Inc. All rights reserved.