The Kyvos 2023.5 release support for Databricks SQL warehouse to enable the execution of ROLAP queries.
Note
This is only applicable to Azure.
Configuring Databricks SQL warehouse
To configure Databricks SQL warehouses with SQL parameters, perform the following steps.
Open Databricks workspace.
Click your username in the top bar of the workspace and select Admin Settings from the list.
Click the SQL Warehouse Settings tab.
In the SQL Configuration Parameters textbox, specify below key-value pair:
LEGACY_TIME_PARSER_POLICY LEGACYClick Save.
For more information, see the SQL configuration parameters and Legacy_Time_Parser_Policy
Creating a build and read connection
From the Toolbox, click Setup, then choose Connections.
From the Actions menu ( ⋮ ) click Add Connection.
Enter a Name for the connection.
From the Category drop-down list, select the BUILD option.
From the Provider list, select the Databricks option, and provide the following:
Databricks Cluster Id: Enter the ID of your Databricks cluster.
To obtain this ID, click the Cluster Name on the Clusters page in Databricks. The page URL shows <https://<databricks-instance>/#/settings/clusters/<cluster-id>Databricks Service Address: Enter the URL of your Databricks workspace.
Databricks Personal Access Token: Enter the personal access token to access and connect to your Databricks workspace. Refer to the Databricks documentation to get your token
To use this connection as a read connection also, select the Is Read checkbox.
Provide the Hive Server JDBC URL. You can find this URL from the Kyvos Manager. Navigate to Hadoop Ecosystem Configuration page > Hadoop Parameters. Copy the value of kyvos.hiveserver2.jdbc.url parameter provided in the format:
jdbc:spark://adb-<Databricks ID>.azuredatabricks.net:443/default;transportMode=http;ssl=1;httpPath=sql/protocolv1/o/<organization ID>/<Databricks cluster ID>;AuthMech=3;
Ensure that you update the Databricks ID, Organization ID, and Databricks Cluster ID according to the cluster that you are working on.To use this connection as the default SQL engine, select the Is Default SQL Engine checkbox, and from the SQL engine list, select Database SQL Warehouse .
See the Provider parameters table for details.To use the Databricks SQL engine, provide the Server URL and Alternate Server URL.
Tip
In case of Database SQL Warehouse ROLAP queries are failed, you must perform the following:
Click your username in the top bar of the workspace and select Admin Settings from the list.
Click the SQL Warehouse Settings tab. In the SQL Configuration Parameters textbox, specify one key-value pair per line.
Separate the name of the parameter from its value using a space. For example, LEGACY_TIME_PARSER_POLICY LEGACY
Click Save.
Note
Supported only with premium workspace.
Supported only with Personal Access Token authentication.