You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/appstore/use-content/platform-supported-content/modules/databricks-edc.md
+26-13Lines changed: 26 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,31 +13,38 @@ This how-to describes the steps required to enable your app to use the External
13
13
14
14
## Prerequisites
15
15
16
-
As an additional resource on how to use bring your own JDBC driver with the external database connector, see[External Database Connector](https://docs.mendix.com/appstore/modules/external-database-connector/#byod) although this explanation is more generic than what will follow in this documentation.
16
+
For some general information on how to use bring your own JDBC driver with the external database connector, read[External Database Connector: Configure for Any Database](https://docs.mendix.com/appstore/modules/external-database-connector/#byod).
17
17
18
18
## Configuring the Connection Between Your Mendix App and Databricks
19
19
20
20
To connect your Mendix application to Databricks with the External Database connector, follow these steps:
21
21
22
22
1. Install the [External Database connector](https://marketplace.mendix.com/link/component/219862) version 5.1.1 or higher.
23
-
2. In the **Settings** of you module you can add a **Java Dependency** of the needed Databricks JDBC Driver, this way the dependency will be downloaded on running your project. To enable this you will need the following:
24
-
***Group ID** - set to **com.databricks**
25
-
***Artifact ID** - set to **databricks-jdbc**
26
-
***Version** - set to **2.7.1**
23
+
2. Ensure that you have the required Databricks JDBC Driver by choosing one of the following options:
24
+
25
+
* To have the dependency downloaded automatically on running your project, add a **Java Dependency** in the **Settings** of you module and provide the following information:
Or alternatively you can download version 2.7.1 of the [JDBC driver](https://www.databricks.com/spark/jdbc-drivers-archive) that Databricks provides and put the .jar file into the userlib of your Mendix project.
31
-
3. Run you Mendix project and run the [Connect to Database wizard](/appstore/modules/external-database-connector/#configuration) and select **Other** as the database type.
32
+
* To install the dependency manually, download version 2.7.1 of the [JDBC driver](https://www.databricks.com/spark/jdbc-drivers-archive) that Databricks provides and put the .jar file into the *userlib* of your Mendix project.
33
+
34
+
3. Run you Mendix project and run the [Connect to Database wizard](/appstore/modules/external-database-connector/#configuration), selecting **Other** as the database type.
7. In your Databricks account find the JDBC URL related to the SQL Warehouse or Cluster you are using and copy it into the JDBC URL field and add UID=token;PWD=**PAT** where **PAT** should be replaced with your actual PAT.
46
+
7. In your Databricks account find the JDBC URL related to the SQL warehouse or cluster which you are using.
47
+
8. Copy the URL into the **JDBC URL** field and add *UID=token;PWD=`PAT`*, where `PAT` is your actual PAT.
@@ -51,7 +58,11 @@ You can now configure the queries that you need to run on your Databricks databa
51
58
52
59
## Configuring a Basic Query
53
60
54
-
In this section we will show you a very basic example of how to use the database connector to execute a query on your Databricks data. To do this you can create some data in your Databricks workspace. Navigate to the SQL Editor in your workspace and run the folowing sql command:
61
+
This section shows a basic example of how to use the database connector to execute a query on your Databricks data.
62
+
63
+
### Creating Data in your Databricks Workspace
64
+
65
+
If you do not have any test customer data in your Databricks workspace, you can create it by running the following SQL command in your workspace's SQL Editor:
0 commit comments