r/databricks • • 15h ago

Discussion Which data quality tool for Databricks do you use?

Post image
30 Upvotes

I curate a list of data quality tools that integrate with Databricks SQL, Spark, Unity Catalog, and Lakeflow Jobs, with facts sourced from the tool docs: https://toolsfordata.com/lists/data-quality-tools/databricks/
Curious to hear what others here use.


r/databricks • • 10h ago

News Databricks Lakebase Data API: PostgreSQL REST API Access

Post image
9 Upvotes

I tested the REST Data API for Lakebase and can say it is fast and cheap. Thanks to Native PostgreSQL functionality, we can use it with CDF as well. DABs now support the Data API, so enablement in prod is really easy.

https://www.sunnydata.ai/blog/lakebase-data-api-postgresql-rest-api

https://databrickster.medium.com/databricks-lakebase-data-api-postgresql-rest-api-access-bba415c5a50f


r/databricks • • 11h ago

General When does it make sense to use serverless for Jobs and Lakeflow pipelines?

Post image
9 Upvotes

Hii beautiful people, I am working in a new project situation and we have mainly source systems that do not need Streaming (Full Snapshots) that trigger our Databricks Jobs through Logic Apps.
I got a question from my manager wether to run our Jobs and Lakeflow pipelines on serverless or class job clusters?
What drives the decision? and how do you measure the comparison fairly?
Team of 5. + Frontend(PowerBI) but we are considering testing metric views/AI/BI Dashboards in the near future.
Thanks in advance


r/databricks • • 2h ago

Help Genie Code Did What?!

5 Upvotes

Ok, I've heard stories of AI deleting repos, dropping tables, etc. But this is the first time I've been witness to something like this... Genie deleted my coaching student's PAT she set up for her github connection... Twice! Luckily this is not as destructive as those other things, but I've always known Genie to do a great job... I do think this is the exception and not the rule, but curious if anyone else has had this happen? Am I just lucky / safe when I use Genie?


r/databricks • • 11h ago

Discussion Recommended workflow for (unit) testing that require larger datasets?

2 Upvotes

I have a case for some unit testing of a rather complex parametrized algorithm that require "larger" datasets (large = single dataset of around 100 MB) that are not supposed to be part of the repo.
So I mainly wonder about the best practices here. As the code itself is inside github, I wonder if it make sense to have the tests be stored inside databricks and then a github action triggering a testing job inside databricks? Or should the data be rather fetched from databricks?


r/databricks • • 2h ago

General Use spark.databricks.delta.autoCompact.enabled to prevent small file problems

1 Upvotes

I work at Abilytics, a data and AI consultancy, so take this with that in mind.

If your Delta Lake tables are filling up with thousands of tiny data parts due to frequent streaming micro-batches or small concurrent writes, you can fix this at the table or session level without running manual OPTIMIZE commands constantly. Enable automatic compaction by setting spark.databricks.delta.autoCompact.enabled to true. When enabled, Delta Lake checks if the most recent write added many small files and automatically triggers a lightweight compaction operation on those files right after a write succeeds on the same query. It inspects partitions that received writes and compacts files of around 16MB up to a target size of 128MB. While this adds a small amount of latency to your write operations, it dramatically cuts down the total file count, avoids metadata bloat in the transaction log, and keeps your downstream read queries performing efficiently without requiring dedicated maintenance jobs.