Databricks
|
This is the public preview documentation of Neo4j Virtual Graph. To provide feedback, please use the feedback form you were granted access to. During the public preview, we advise you not to use sensitive or production data with Virtual Graph. |
This driver is required by data source definitions of type databricks.
Databricks offers two different versions of their JDBC driver.
A semi-commercial driver from Simba / CData, and an open-source driver, starting at version 3.x.
Virtual Graph only support the open-source driver.
See the Databricks JDBC Driver documentation.
All connection properties can be defined via additionalProperties of the datasource.json definition.
Direct download
curl -O https://repo.maven.apache.org/maven2/com/databricks/databricks-jdbc/3.4.1/databricks-jdbc-3.4.1.jar
Maven coordinates
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<version>3.4.1</version>
</dependency>
Configuration
The datasource.json definition for this driver requires the following information:
{
"type": "databricks",
"host": "some.server.com",
"catalog": "neo4j_graph_engine",
"schema": "movies",
"httpPath": "/sql/1.0/warehouses/foo"
}
This configuration implies a token-based secret.
Limiting the number of fetched rows
Databricks offers RowsFetchedPerBlock, see Performance and connection management properties.
Those properties must be configured via additionalProperties.