cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Albertino
by • New Contributor III
  • 1164 Views
  • 7 replies
  • 8 kudos

databricks-connect library for python and pandas 3

Hello,databricks-connect is pinning pandas during the installation. Since we're moving towards pandas 3 can you please add the support for the newest version as well?

Data Engineering
databricks-connect
Pandas
python
  • 1164 Views
  • 7 replies
  • 8 kudos
Latest Reply
tajamulkhan
Honored Contributor II
  • 8 kudos

The important distinction here is between pandas 3 compatibility with PySpark and the dependency constraints declared by a particular Databricks Connect release.Even if some PySpark operations work with pandas 3, that does not automatically establish...

  • 8 kudos
6 More Replies
rs5
by • New Contributor
  • 274 Views
  • 6 replies
  • 2 kudos

Resolved! Unable to access AWS S3 - Error : java.nio.file.AccessDeniedException

I am performing encryption over 40M records using serverless compute. The code is working fine on 50 records but failing on 40M while displaying and selecting as well but sometimes it is working and showing results. Error:Job aborted due to stage fai...

  • 274 Views
  • 6 replies
  • 2 kudos
Latest Reply
rs5
New Contributor
  • 2 kudos

Problem solved for me by using below lines of code:ALTER TABLE catalog_name.schema_name.test_source_data CLUSTER BY AUTO;ANALYZE TABLE catalog_name.schema_name.test_source_data COMPUTE STATISTICS FOR ALL COLUMNS;

  • 2 kudos
5 More Replies
Raj_DB
by • Contributor II
  • 1739 Views
  • 12 replies
  • 16 kudos

Resolved! How to Connect Databricks to Snowflake & Query Live Data?

Hi everyone,I am looking for a method to connect Databricks to Snowflake so I can query and transform the data directly in a notebook. I specifically want to avoid methods that just perform a one-time copy of the tables into Databricks, as I need the...

  • 1739 Views
  • 12 replies
  • 16 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 16 kudos

@raj , if you are happy with the answer and it addresses your issue please mark "Accept as Solution" so that others can have confidence in the response. Cheers, Lou.

  • 16 kudos
11 More Replies
temarych
by • New Contributor II
  • 1148 Views
  • 4 replies
  • 2 kudos

How should schema evolution be handled across silver and gold layers in a medallion architecture?

We run a medallion pipeline on Databricks:Bronze: AutoLoader ingests raw CSV files into Delta tables (append-only, all columns as STRING, schema evolution via addNewColumns)Silver: PySpark jobs clean and transform bronze data into Delta tables using ...

  • 1148 Views
  • 4 replies
  • 2 kudos
Latest Reply
tajamulkhan
Honored Contributor II
  • 2 kudos

I would handle schema evolution differently across Bronze, Silver and Gold because each layer serves a different purpose.In my work with Databricks and PySpark, one important consideration is protecting downstream applications from unexpected data ch...

  • 2 kudos
3 More Replies
zeel08
by • New Contributor
  • 401 Views
  • 6 replies
  • 2 kudos

Resolved! Serverless multi-task jobs: a later task that reuses an environment_key restores a cached env with m

Hi all,Since 19 Nov 2026 (about 5:13 PM GMT+5:30), some of our serverless jobs fail in a way we cannot explain. Our code and job config did not change. We would like to know if others see the same issue, or if someone knows the cause.SetupDatabricks ...

  • 401 Views
  • 6 replies
  • 2 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 2 kudos

Hello @zeel08, I dug in and want to share my findings. Your guess of both errors is correct. glibc's loader skips a binary built for another machine and reports "No such file or directory", even though the file is sitting right there (see the glibc t...

  • 2 kudos
5 More Replies
ayushpattnaik
by • New Contributor III
  • 995 Views
  • 2 replies
  • 6 kudos

Resolved! Is it safe to expose JWT in Databricks Job?

There is an usecase where I want to verify/extract the job caller identity in the job runtime of databricks. The job run_as and creator parameter seems to be fixed at the job configuration and doesn't reflect/update who actually triggered a job run.A...

  • 995 Views
  • 2 replies
  • 6 kudos
Latest Reply
tajamulkhan
Honored Contributor II
  • 6 kudos

I would avoid passing the original user JWT into the job just to identify who triggered the execution.There are two different identities involved here.The identity configured to execute the job.The identity that requested the job execution.Those iden...

  • 6 kudos
1 More Replies
Davide
by • New Contributor III
  • 276 Views
  • 2 replies
  • 0 kudos

Managed table conversion and vacuum

Hello everyone,I am looking for clarification about the 14-day rollback period after converting an external table to a managed table using:                                                        ALTER TABLE <table_name> SET MANAGEDDatabricks document...

  • 276 Views
  • 2 replies
  • 0 kudos
Latest Reply
Louis_Frolio
Databricks Employee
  • 0 kudos

Greetings @Davide, I did some digging and here is what I found. @Isaac_18 has this right, and your own test in the sibling thread settles the main question. The 14-day rollback window and delta.deletedFileRetentionDuration are separate settings. A 7-...

  • 0 kudos
1 More Replies
spiralmantra07
by • New Contributor II
  • 621 Views
  • 1 replies
  • 2 kudos

How can Data Fabric streamline real-time and batch data processing for data engineering services?

Data Fabric helps data engineering teams by providing a unified architecture that integrates data across sources, automates pipeline creation, and ensures governance. It enables scalable data pipelines, efficient data warehouse management, and seamle...

  • 621 Views
  • 1 replies
  • 2 kudos
Latest Reply
saisaranv
Contributor II
  • 2 kudos

Well said. One additional consideration is workload predictability and scaling requirements.In my experience, Microsoft Fabric can be a strong choice for organizations with well-understood and relatively stable workloads, where capacity planning can ...

  • 2 kudos
Pravieen
by • New Contributor II
  • 449 Views
  • 3 replies
  • 4 kudos

Request for Guidance: Enabling PostgreSQL CDC in Azure Databricks Lakeflow Connect

Hello Databricks Community,I am using Azure Databricks Lakeflow Connect with a PostgreSQL source.The CDC option is disabled in the PostgreSQL ingestion wizard, and I see the following message:This mode is not available in this workspace for the selec...

  • 449 Views
  • 3 replies
  • 4 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 4 kudos

The message means that CDC mode for the PostgreSQL connector isn't turned on for your workspace. It isn't a problem with your connection or source configuration. Since you already have a ticket open, that's the right path, but there are a couple of ...

  • 4 kudos
2 More Replies
inaafina
by • New Contributor II
  • 680 Views
  • 5 replies
  • 1 kudos

Resolved! Overwrite Job Errors

I keep on getting this error message when trying to create a parquet in my notebook. Has anyone found this error too? My overwrite path was working perfectly fine before.SparkConnectGrpcException: (java.lang.IllegalStateException) operationId: d5871d...

  • 680 Views
  • 5 replies
  • 1 kudos
Latest Reply
Isaac_18
Contributor II
  • 1 kudos

Hi @inaafina, adding a bit more context on this one, because the error message is confusing.That message doesn't come from your parquet write itself. It comes from Spark Connect's bookkeeping for each operation. (Serverless notebooks and Databricks C...

  • 1 kudos
4 More Replies
DB1To3
by • Valued Contributor II
  • 1069 Views
  • 10 replies
  • 6 kudos

Resolved! Missing spark structured streaming metadata blobs?

I'm exploring spark structured streaming, and contemplating uses for it.I'd like to launch a job on a recurring basis from an external scheduler.  It will launch a spark job with trigger (availableNow=True). I'm concerned about overlapping executions...

DB1To3_0-1794341533309.png
  • 1069 Views
  • 10 replies
  • 6 kudos
Latest Reply
saurabh18cs
Esteemed Contributor
  • 6 kudos

Hi @DB1To3 Just make this concurrent run to 1 for your streaming jobs are your problem is sorted , it wont corrupt checkpoint locatiion  

  • 6 kudos
9 More Replies
DB1To3
by • Valued Contributor II
  • 522 Views
  • 4 replies
  • 1 kudos

Resolved! Statestore is not valid when using Spark Structured Streaming

I'm using spark structured streaming and it works properly at first.  But when I try to audit the checkpointLocation I can't get it to work.  It seems like it should be a relatively simple task to query the statestore and audit the processing of a st...

DB1To3_0-1794251574660.png
  • 522 Views
  • 4 replies
  • 1 kudos
Latest Reply
SajeevPS
New Contributor III
  • 1 kudos

I think the error is expected for this pipeline. The state reader functions (read_statestore / read_state_metadata) are for stateful Structured Streaming queries, meaning ones with a stateful operator such as aggregations, dropDuplicates, stream-stre...

  • 1 kudos
3 More Replies
i4ata
by • New Contributor II
  • 644 Views
  • 3 replies
  • 1 kudos

Mismatch of spark.catalog.tableExists and SHOW TABLES in streams

Consider this minimal example of a streaming workflow:import os from pyspark.sql import functions as F, DataFrame from typing import Literal # Change these if you want to replicate CATALOG, SCHEMA = 'partner_demo_catalog', 'ad_sales_demo' spark.sql...

  • 644 Views
  • 3 replies
  • 1 kudos
Latest Reply
saurabh18cs
Esteemed Contributor
  • 1 kudos

Hi @i4ata Hi  how if you try with batch specific session (just curious)def foreach_batch(batch_df, batch_id): spark_session = batch_df.sparkSession  if spark_session.catalog.tableExists(table_name): brSaurabh

  • 1 kudos
2 More Replies
RaulTovar
by • New Contributor II
  • 1417 Views
  • 5 replies
  • 0 kudos

How to extract data from SAP to Databricks?

Hey everyone, I'm working through a project where I need to get data out of SAP S4Hana and into Databricks, and I'd love to pick the brains of anyone who's done this before.A few things I'm trying to figure out:How are you actually pulling the data o...

  • 1417 Views
  • 5 replies
  • 0 kudos
Latest Reply
anksaini
New Contributor II
  • 0 kudos

Easiest would be to use SAP BDC

  • 0 kudos
4 More Replies
LingeshK
by • Databricks Employee
  • 3857 Views
  • 3 replies
  • 7 kudos

How to Unit Test Spark Declarative Pipelines

Every engineer who ships application code writes unit tests for it. Yet the data pipeline that feeds the same application is often left with a manual run and a dashboard that someone eventually notices is wrong. The gap has been more about tooling th...

00-etl-diagram-excalidraw.png 03-v2-pipeline-dag-closeup.png 13-v2-gold-table-wrong-numbers.png 12-v2-run-pipeline-complete-green.png
  • 3857 Views
  • 3 replies
  • 7 kudos
Latest Reply
dmugisha_r
New Contributor II
  • 7 kudos

Thanks for this, the quickstart was a great starting point. The per-test isolation with the redirecting_* schemas is really nice: we could test AUTO CDC edge cases (deletes, out-of-order updates, null keys) on mock data, without touching real tables....

  • 7 kudos
2 More Replies
Labels