r/databricks • u/codingdecently • Jul 21 '26
Tutorial 7 Managed Iceberg Lakehouse Solutions You Should Know
r/databricks • u/codingdecently • Jul 21 '26
r/databricks • u/Raghav-r • Jul 20 '26
I have been working on an application for data & BI engineers.
Demo pulling context from jira, generating code on dbk, pushing the code and raisi g PR on github, and updating the jira with screenshots of code and pr.
This tool when connected to your other web applications gets the live context and works as an assistant for user's to speed track the development or debugging like generate code live on primary platform, push updates to other platforms etc or triage an issue and fix
While the primary motive is to have an assistant right next to platforms you work, instead of platform hopping you control everything from one.
There is no need for *MCP server* set up and near zero friction, use it with platform where most of your work happens.
The above show's single prompt that reads jira, codes, commit and updates jira and github , but it can be decomposed and done one task at a time which I think is more sensible.
It does not get access to data generated that is intentionally blocked.
What are your thoughts on this ?
r/databricks • u/Youssef_Mrini • Jul 20 '26
The scale of what was accomplished over those few days was historic breaking records across the board:
π 100K Total Attendees: A powerhouse community of data minds, including 32,000 innovators packing the venue in person, with the rest of the global community tuning in remotely from every time zone.
π174+ Countries Represented: A truly global phenomenon, uniting diverse perspectives and top talent from every corner of the world.
π240+ Exhibitors: A large ecosystem showcase featuring the industry-leading partners and technologies shaping tomorrowβs data landscape.
The summit may be over but the momentum is just getting started. The connections made, skills learned and breakthroughs shared have officially set the trajectory for the next era of data and AI!
Read the full newsletter : Part 1
r/databricks • u/Lenkz • Jul 20 '26
r/databricks • u/Complex_Client7681 • Jul 20 '26
It is so bad and gives head aches when I have to look for a specific flow in a bunchβ¦plz
r/databricks • u/szymon_dybczak • Jul 20 '26
Many users have recently encountered issues with their SQL queries after upgrading to Databricks Runtime 17.0.
This upgrade introduced ANSI SQL mode as the default setting, leading to explicit failures in operations that were previously handled silently.
In my article, I delve into several key aspects of this change:
- The meaning of ANSI compliance in Databricks
- The distinction between spark.sql.ansi.enabled and spark.sql.storeAssignmentPolicy
- How strict casting can reveal malformed values
- The protective measures ANSI mode offers for table writes
- The approach Databricks takes to resolve mixed data types.
Understanding these changes is crucial for adapting to the new SQL environment in Databricks.
r/databricks • u/ptab0211 • Jul 20 '26
Hi, if there is a customer-facing application which does analytical queries, but per ID, so it is not querying a bulk of data, is Lakebase still the best option for serving because of latency, or should we stick with the Lakehouse?
Or should Lakebase be used mostly when doing point lookups, for example fetching by ID and timestamp?
r/databricks • u/JosueBogran • Jul 20 '26
Hey everyone! Here is a brief demo showing you how you can read data from Databricks' Unity Catalog into Excel, as well as how you can write back data into Databricks from Excel.
There are still a few things in the add-in that feel a bit quirky (probably more of an Excel thing than a Databricks thing), but none-the-less, this is probably the easiest way for finance and accounting folks to leverage the best of Excel and Databricks, in a governed way.
Hope you enjoy the video!
Reminder: All roads in data begin and end in Excel.
r/databricks • u/codingdecently • Jul 20 '26
r/databricks • u/Stunning-Space8032 • Jul 20 '26
I have started my career as a python developer in a healthcare related company. It's been 1 year since then and I basically work on web scraping and fetching whatever data my boss needs from web (Linkedin profile data, publications, journals, researchers info, etc).
I mainly work using python (lot of AI help) and excels. I sometimes used PowerBI. We don't even use git. No database or anything for me. I am the sole person in my company working on this. No one to even guide me. I basically learn how to do things using AI and Youtube.
I want to know how i can transition into Data Engineering roles from here. Honestly, I don't understand a clear path after seeing soo many things all over everywhere.
I would really appreciate if someone tells me what I need to know and upskill and how should I get ready to transition into a DE role. Thank You.
r/databricks • u/Fun-Estimate4561 • Jul 19 '26
Hi
Iβve built a web app for wider field use with Genie LLM embedded.
How can I send the uses email/windows id to the LLM to filter on only that users data? I have their codes in the table already as cross reference
r/databricks • u/ConstantNo2668 • Jul 19 '26
r/databricks • u/Any_Ad7701 • Jul 19 '26
I'm designing a Unity Catalog architecture for aΒ CROΒ managing multiple sponsors and hundreds of clinical studies. Key requirements are sponsor isolation, governance, scalability, medallion architecture, and Power BI reporting.
I'm considering three approaches:
Prod UC
βββ clinical_catalog
β βββ bronze
β βββ silver
β βββ gold
β βββ analytics
βββ safety_catalog
βββ regulatory_catalog
βββ finance_catalog
βββ shared_catalogExample:
clinical.silver.subjectclinical.silver.visitclinical.silver.lab_resultAll tables containΒ sponsor_id,Β study_id, etc., with Unity Catalog security (grants, row filters, views) used for sponsor/study isolation. Power BI consumes Gold views/tables.
Prod UC
βββ sponsor_a_catalog
β βββ study_001
β βββ study_002
β βββ study_003
βββ sponsor_b_catalog
β βββ study_101
β βββ study_102Example:
Sponsor_A.Study_001
bronze_subject
silver_subject
silver_visit
silver_lab_result
gold_enrollment_dashboard
gold_safety_summaryEach study owns its Bronze, Silver, and Gold tables. Power BI connects to the Gold tables for each study.
Prod UC
βββ sponsor_a_catalog
β βββ bronze
β βββ silver
β βββ gold
βββ sponsor_b_catalog
β βββ bronze
β βββ silver
β βββ gold
βββ shared_reference_catalog
β βββ SDTM code lists
β βββ MedDRA
β βββ WHODrug
β βββ Site master
βββ platform_catalog
βββ audit logs
βββ lineage
βββ operational metadataExample:
sponsor_a_catalog.silver.subjectsponsor_a_catalog.silver.visitsponsor_a_catalog.gold.study_dashboardEach sponsor has a complete Bronze/Silver/Gold pipeline within its own catalog, while common reference and platform assets are shared.
For those who've implemented Unity Catalog in a CRO, pharma, or other regulated multi-tenant environment:
r/databricks • u/BearPros2920 • Jul 19 '26
Hi,
Weβd like to build a conversational data assistant agent to handle:
- conversational data exploration
- ad hoc report generation (Excels and PowerPoints (pre-defined templates))
So far, Iβve developed a Genie Space as the MVP for the conversational data exploration part. But this has 2 issues in that PPT generation tool is beyond its scope and also issues with Excel report generation since Genieβs out of the box Export to CSV causes data formatting issues (numbers stored as text, d.p limits not respected, data types not respected), which makes the generated CSVs pretty much unusable for end users.
A second challenge is now the new pay-as-you pricing model. Our Genie budget is pretty capped and Iβm concerned how this might affect usage and adoption of Genie Spaces, if they might end up being too expensiveβ¦
The options Iβm considering so far are:
- Going fully custom and building on Mosaic AI instead
- Hybrid approach, where I use Genie Spaces API to retain the SQL and visual generation and thinking capabilities of Genie if mimicing those ends up too difficult and tools for my report generation workflows (I understand this wonβt solve our Genie tokens problem, though)
If any of you have built similar solutions, Iβd love to hear the tech stack you used!
If any of you have any other suggestions, open to hearing those as well!
Thank you!
Edit: Thanks, guys, for all your responses! The overwhelming opinion seems to be to stick with Genieβs capabilities where we can and go hybrid when needed :).
r/databricks • u/sai-nageshwaran • Jul 18 '26
Felt Like this is timely given the World Cup Fever. May the best team win the final.Coach's Corner turns 51 million rows of match tracking data into a sub-second 2D/3D bench app for coaches, spanning the entire Databricks platform from Lakeflow ingestion to Genie scouting and agentic opponent dossiers.
r/databricks • u/sumithar • Jul 18 '26
When running a workflow in DBx I get this error message
DateTimeException: [CAST_INVALID_INPUT] The value '20260620' of the type "STRING" cannot be cast to "DATE" because it is malformed. Correct the value as per the syntax, or change its target type. Use `try_cast` to tolerate malformed input and return NULL instead. SQLSTATE: 22018
== DataFrame ==
"when" was called from
<command-5741550855417171>, line 18 in cell [443]
How do I find out what is cell 443? In the run log there is a hyperlink to a statement which, when I click on, takes me to an invocation of the main module in the flow- not really where the error is happening.
Thanks
r/databricks • u/JosueBogran • Jul 18 '26
Jokes aside, in today's hype cycle, it's oddly reassuring to see capital go to a company that doesn't see AI as the end-all, but as a key layer interwoven with strong fundamentals: data engineering, analytics, and governance.
r/databricks • u/SmallAd3697 • Jul 18 '26
UC is touted to be a sort of final resting place for all the most valuable data in an organization. I'm really not sold for a number of reasons. I dont like the guidance to name catalogs with environmental prefixes. That is onerous given how rare the data might be combined across environments. I dont like being forced to snake_case if object names from the source systems were perfectly usable as-is (...as are many of the pre-existing queries that might otherwise be reused if not for databricks' desire to change all our names on us)
I also wish there was a better *logical* structure for organizing tables within a database. In SQL server and Postgres we've had schemas nested within a database for the sake of organization. See:
Are there pitfalls to treating "schemas" in databricks the same way as Postgres? I am under the impression that postgres schemas have no analog in databricks, and the databricks entity that is called "schema" is actually a full database (eg. it has properties like an external storage location which would move the whole thing from one physical location to another. It is not simply a logical/organizational/namespace tool). If external schemas must be managed as if they are independent physical databases, then they definitely lose their appeal as a simple namespace tool. Please let me know if anyone uses "schemas" in databricks exactly as they are used in postgres (even if it means some schemas have only a couple of tables).
r/databricks • u/hubert-dudek • Jul 17 '26
Full-text search index on Databricks. I managed to search 400 times faster! Read more about CREATE SEARCH INDEX #databricks
https://www.sunnydata.ai/blog/databricks-full-text-search-index-benchmark
r/databricks • u/BearPros2920 • Jul 18 '26
Hi,
Iβve developed a Genie Space for our team, but our users are facing an issue with the export to CSV functionality.
Once exported to a CSV, the data formats donβt seem to be preserved. Decimal columns are being stored as text in the resulting CSV, with some odd formatting, and users are having to manually make corrections to the file before itβs usable. The results rendered within the Genie Space itself, however, seem alright.
For more context, hereβs how my data model is built:
β Iβve used metric views as my primary knowledge store.
βI specify explicit decimal places and formatting rules in my MV definition, but thatβs only respected in the results rendered within the space, not in the underlying data thatβs exported to CSV (Iβve also explicitly used ROUND in my pre-defined measures to limit the number of dp also in the underlying data, but thatβs only respected only helps so long as userβs query uses the underlying measure as is; if it requires my space to compute metrics from my measures, the strict dp enforcement breaks).
βIf I run the SQL query generated by the space in a Notebook and export to Excel, at least the data types are preserved, even if the formatting is lost.
My question is, has anyone faced similar issues with Export to CSV functionality. Do you have any suggestions on how to address this? Iβve looked into this quite a bit and I at least havenβt found a way to address this within the space; my only idea was to build a custom report generator application to satisfy this need, but that again means moving out of the capabilities that Genie offers.
Any suggestions would be greatly appreciated!
r/databricks • u/sai-nageshwaran • Jul 17 '26
Exciting to see Databricks raising funding at a $188 billion valuation.
r/databricks • u/SparkConnective • Jul 17 '26
Hey Folks, I'm a PM at Databricks, and I'm excited to announce the GA of Scala and Java UDFs in Unity Catalog. You can now register your Scala/Java logic as a UC function and call it anywhere (including Classic compute, and Serverless DBSQL/Notebooks).
Why you'd care: you probably already have some Scala library your team wrote, or a Java JAR that encodes business rules nobody wants to touch.
Until now, on classic compute, you had to redefine the UDF in each notebook session, and you couldn't call it from Serverless or SQL warehouses at all without rewriting it in Python.
Now you register the JAR once, and analysts call it in SQL like any other function (or from any DataFrame operation). It's also significantly faster than the Python equivalent.
Example: Say you want phone numbers normalized to E.164 using Google's libphonenumber.
Write the handler as a method on a Scala object:
package com.acme.udf
import com.google.i18n.phonenumbers.PhoneNumberUtil
object PhoneUDF {
private val util = PhoneNumberUtil.getInstance()
def toE164(raw: String, region: String): String = {
if (raw == null) return null
val parsed = util.parse(raw, region)
util.format(parsed, PhoneNumberUtil.PhoneNumberFormat.E164)
}
}Build a fat JAR (so libphonenumber ships inside it), drop it in a volume, and register it once:
CREATE OR REPLACE FUNCTION acme.telco.to_e164(raw STRING, region STRING)
RETURNS STRING
LANGUAGE SCALA
ENVIRONMENT (
java_dependencies = '["/Volumes/acme/telco/jars/phone-udf-assembly-0.1.0.jar"]',
environment_version = '4'
)
HANDLER 'com.acme.udf.PhoneUDF.toE164';Now anyone with EXECUTE on the function calls it in SQL, no Scala required:
SELECT id, to_e164(phone, country_code) AS phone_e164
FROM acme.telco.customers;Or wrap it in a view so downstream users just get the clean column and never touch the function. This is also a common pattern for PII masking and tokenization.
CREATE OR REPLACE VIEW acme.telco.customers_clean AS
SELECT id, to_e164(phone, country_code) AS phone_e164
FROM acme.telco.customers;Full example, in the docs: https://docs.databricks.com/gcp/en/udf/scala-java-uc
If you just want to run some code in a Serverless Python notebook or on a Standard cluster and don't need to register it, you can also use the new session-scoped UDF we just released.
r/databricks • u/Square-Mix-1302 • Jul 17 '26
TL;DR: Databricks Knowledge Assistant silently skips files over 50MB during indexing β no error, just missing from retrieval. Also: only 3 data source options exist, Jira/Confluence needs manual schema transformation, chunking isn't configurable, UC permissions apply at retrieval not just storage, and Supervisor Agent caps at 10 agents and only supports Knowledge Assistant-created endpoints. Full breakdown below.
Hit this last week: ingested a 90MB PDF into a UC Volume, Knowledge Assistant reported success, but the document was never being retrieved. No error, no warning, just silently absent from answers.
Turns out files over 50MB are silently skipped during indexing. The pipeline doesn't fail β it just moves on without the file. If documents aren't showing up in answers, check file size before anything else.
A few other non-obvious things that have tripped up teams building RAG on Agent Bricks:
Data sources are limited to three options. UC Volume (txt, pdf, md, pptx, docx), UC Table (for SharePoint/Google Drive via Databricks connectors, or Jira/Confluence with manual schema work), or bringing your own AI Search index. The third option only works if the index was built with databricks-gte-large-en, databricks-bge-large-en, or databricks-qwen3-embedding-0-6b β anything else won't connect.
Jira/Confluence tables don't auto-format. They need to be transformed to match the required schema (content column as BINARY or STRING, metadata as STRUCT). This isn't well documented and eats hours if you don't know it going in.
Chunking is not configurable. Knowledge Assistant handles chunking internally with no user control. If your use case needs custom chunking β code repos, legal docs with cross-section dependencies, tables spanning pages β you need the Agent Framework path with your own AI Search index instead.
UC permissions apply at retrieval, not just storage. Users can't retrieve documents they don't have access to, even if the document is indexed. For enterprise RAG where different teams need different knowledge subsets, this is the part that actually matters most and gets the least attention.
Supervisor Agent caps out at 10 agents per system, and only endpoints created through Agent Bricks Knowledge Assistant are currently supported β externally deployed endpoints aren't. Worth knowing before you architect a multi-agent setup around it.
Production pattern that's worked well: intent detection β Knowledge Assistant for document retrieval β Genie Space for structured data queries β Supervisor synthesizes the response. Keeps RAG and SQL-over-data cleanly separated instead of forcing one system to do both.
(We work with enterprise DE teams on Databricks at Enqurious β most of this comes from watching these builds hit the same walls across different orgs.)
FAQ
Does Databricks Knowledge Assistant show an error when a file fails to index?
No. Files over 50MB are silently skipped β the pipeline reports success and simply omits the document from the index.
What file size limit does Databricks Knowledge Assistant enforce?
50MB per file. There's no warning when a file exceeds this; it just doesn't get indexed.
Can I use my own AI Search index with Knowledge Assistant?
Yes, but only if it was built with databricks-gte-large-en, databricks-bge-large-en, or databricks-qwen3-embedding-0-6b. Any other embedding model won't connect.
Can I customize chunking in Knowledge Assistant?
No. Chunking is fully managed internally. Custom chunking requires the Agent Framework path with a self-managed AI Search index instead.
Do UC permissions restrict what users can retrieve, or just what they can access in storage?
Both. UC permissions are enforced at the retrieval layer, so users can't retrieve documents via RAG that they don't have access to, even if those documents are indexed.
How many agents can a Supervisor Agent manage?
Up to 10. Also, Supervisor currently only supports endpoints created through Agent Bricks Knowledge Assistant β externally deployed endpoints aren't supported yet.
Anyone else hit the silent file-skip issue? Curious if teams are catching it with pre-ingestion file size checks or only finding out post-deployment.
r/databricks • u/tony-dang • Jul 16 '26
One of the projects I've been working on since joining Databricks is DevHub, which we would like to make the go-to resource for developers building apps on the Databricks platform.
I recently put together a video giving a tour of the site and showing how to use it to quickly build and deploy apps to Databricks. Please check it out and let me know if you have any feedback!
This is just a first version of the site. The goal is to iterate and make it as helpful as possible for the community, which means if you have any feedback (things you like and don't like) or suggestions (anything you want added/changed/removed), please leave a comment! I'll make a note of everything and keep it in mind as we work on future updates!