At a glance
Prerequisites
- An End Close admin.
- Databricks connection details for a user that can read the tables you want to sync.
- A table with a column that uniquely identifies each row, such as a transaction ID, and columns for the amount, the date and the direction (credit or debit).
Connect Databricks
1
Open Databricks in End Close
Go to Settings → Integrations and choose Databricks under Data warehouses.
2
Enter the connection details in Fivetran
Choose Connect. End Close sends you to a Fivetran setup form. Enter your Databricks connection details there and finish the form. The credentials go to Fivetran; End Close doesn’t store them.
3
Return to End Close
Fivetran sends you back to End Close, and the Databricks dialog shows Connected.
Create a Databricks stream
Each stream reads one table. Create one stream per table you reconcile.1
Start a new stream
In the Databricks dialog, choose New Databricks stream. You can also start from Data.
2
Choose data
Under Builder, pick the table from Table. Then set the Sync Key: the column that uniquely identifies each row. End Close stores it as the record’s
external_id.3
Map columns
Map a column to each required record field: Amount, Date and Direction. You can also map a column to Description. Choose Continue when the required fields are mapped.
4
Name and save
Enter a Key (for example
production_databricks), a Name and, optionally, a Description, then choose Create stream. The key is used in URLs and the API, and can’t be changed later.FAQ
Can I sync the result of a SQL query instead of a table?
Can I sync the result of a SQL query instead of a table?
Not yet. The SQL option in Choose data isn’t available, so each stream reads a table. To sync a filtered or joined result, create a view in Databricks and pick that.
Can I sync several tables?
Can I sync several tables?
Yes. Create one stream per table. They all use the same Databricks connection.
Related
Data streams
How streams hold records and feed reconciliations.
Records
The record fields your columns map to.