Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

materialize-databricks: use mahdi's fork of databricks driver #2507

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

mdibaiee
Copy link
Member

@mdibaiee mdibaiee commented Mar 10, 2025

Description:

I have a temporary fix for the databricks driver bug in my fork: mdibaiee/databricks-sql-go@c54f93a

I have not run this version against a full test suite of databricks driver, but I have run our integration tests and I have also run it against the code that would reproduce the bug, and confirmed the bug does not happen with this version and the error is correctly surfaced.

I'm going to deploy this for one customer who is dealing with this issue without merging it, after approval, to test it out. The customer's pipeline has been struggling because of this issue as MERGE INTO queries are too slow for large backfills.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

I have a temporary fix for the databricks driver bug in my fork:
mdibaiee/databricks-sql-go@c54f93a

I have not run this version against a full test suite of databricks
driver, but I have run our integration tests and I have also run it
against the code that would reproduce the bug, and confirmed the bug
does not happen with this version and the error is correctly surfaced.

I'm going to deploy this for one customer who is dealing with this issue
without merging it, after approval, to test it out. The customer's
pipeline has been struggling because of this issue as MERGE INTO queries
are too slow for large backfills.
Copy link
Member

@williamhbaker williamhbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I wonder how much the "merge query optimization" we have implemented for the BigQuery and Snowflake materializations would help for the merge cases in Databricks.

@mdibaiee mdibaiee merged commit 9dc6662 into main Mar 10, 2025
55 of 58 checks passed
@mdibaiee mdibaiee deleted the mahdi/databricks-fork branch March 10, 2025 13:40
@mdibaiee mdibaiee restored the mahdi/databricks-fork branch March 10, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants