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

Nkrom
by • New Contributor II
  • 1049 Views
  • 4 replies
  • 0 kudos

Renaming a folder in adls is taking a lot of time

Hi i have a folder customer and customer_01 in adls location , now i need to rename customer_01 to customer and customer to customer_01 both if these folder have lots of files . If i use dbutls.fs.mv its taking a lot of time like 7 hours something is...

  • 1049 Views
  • 4 replies
  • 0 kudos
Latest Reply
ShamenParis
Contributor III
  • 0 kudos

Hi @Nkrom ,I am happy to share the Azure REST API method! Using the Azure Python SDK is the absolute fastest way to do this but you can choose any other programming language.ADLS Gen2 uses a "Hierarchical Namespace" (HNS). When you use the Azure SDK ...

  • 0 kudos
3 More Replies
dpc
by • Contributor III
  • 3784 Views
  • 7 replies
  • 9 kudos

Resolved! disabling a task in a databricks job

Hello I have jobs that perform a number of activities.Sometimes I want to disable one or more of these activities.I can do that easily in an app like ADF.Reading around I cannot find an easy way to do this although, what I've read suggest that it was...

  • 3784 Views
  • 7 replies
  • 9 kudos
Latest Reply
rgabo
New Contributor II
  • 9 kudos

Hi folks, this is Gabor from Databricks here!We've recently launched Disabled tasks which lets you disable an task indefinitely so that it won't run the next time the job runs on a schedule. Simply specify "disabled": true in the job's configuration ...

  • 9 kudos
6 More Replies
johschmidt42
by • New Contributor III
  • 4063 Views
  • 4 replies
  • 2 kudos

Resolved! Autoloader cloudFiles.maxFilesPerTrigger ignored with .trigger(availableNow=True)?

Hi, I'm using the Auto Loader feature to read streaming data from Delta Lake files and process them in a batch. The trigger is set to availableNow to include all new data from the checkpoint offset but I limit the amount of delta files for the batch ...

  • 4063 Views
  • 4 replies
  • 2 kudos
Latest Reply
ShamenParis
Contributor III
  • 2 kudos

Hi @johschmidt42 ,This is a great question, but the mystery actually lies in the very first line of your read configuration: spark_session.readStream.format(source="delta")Because you are using .format("delta") instead of .format("cloudFiles"), you a...

  • 2 kudos
3 More Replies
mzare
by • New Contributor II
  • 956 Views
  • 2 replies
  • 0 kudos

Resolved! Lakeflow SDP equivalent of whenNotMatchedBySource

I have a Lakeflow Connect SCD1 pipeline for SQL Server where I get a mirror of what's live in the source database at the point of ingestion. Now I want to implement a process where I implement a downstream SCD2 table capturing changes for each ingest...

Data Engineering
create_auto_cdc_flow
foreachBatch
lakeflow connect
sdp
  • 956 Views
  • 2 replies
  • 0 kudos
Latest Reply
sameer_yasser
Contributor
  • 0 kudos

This is exactly the scenario apply_changes_from_snapshot was designed for. It compares consecutive full snapshots and automatically derives inserts, updates, and deletes by absence no delete indicator column needed.

  • 0 kudos
1 More Replies
ashraf1395
by • Honored Contributor
  • 2029 Views
  • 2 replies
  • 1 kudos

Fething the catalog and schema which is set in dlt pipeline configuration

I have a dlt pipeline and the notebook which is running on the dlt pipeline has some requirements.I want to get the catalog and schema which is set my dlt pipeline. Reason for it: I have to specify my volume files paths etc and my volume is on the sa...

  • 2029 Views
  • 2 replies
  • 1 kudos
Latest Reply
SP_6721
Honored Contributor II
  • 1 kudos

Hi @ashraf1395 Can you try this to get the catalog and schema set by your DLT pipeline in the notebookcatalog = spark.conf.get("pipelines.catalog")schema = spark.conf.get("pipelines.schema")

  • 1 kudos
1 More Replies
yuta666
by • New Contributor
  • 997 Views
  • 2 replies
  • 1 kudos

Resolved! Auto Loader on UC Volumes stopped resolving wildcards

The following spark.readStream / cloudFiles configuration was confirmed working on2026-04-30, but stopped working on 2026-05-26. No code or config changes were madebetween these dates, so I assume something was changed implicitly on the Databricks si...

  • 997 Views
  • 2 replies
  • 1 kudos
Latest Reply
saravjeet
Databricks Partner
  • 1 kudos

We are facing a similar issue, not limited to Autoloader but also affecting DLT pipelines and classic ETL job. The behavior is intermittent, jobs run fine and then fail unexpectedly, though they typically succeed on retry if retries are enabled. We t...

  • 1 kudos
1 More Replies
mnissen1337
by • Contributor
  • 3061 Views
  • 1 replies
  • 0 kudos

Resolved! Serverless compute outbound IP whitelisting for external API calls

I’m trying to understand the networking implications of moving some logic to Databricks Serverless / SDP.My current setup is a notebook running as a job on classic compute, and this works because outbound traffic goes through a NAT Gateway, so we can...

  • 3061 Views
  • 1 replies
  • 0 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 0 kudos

Hi @mnissen1337, Your understanding is basically right. With classic compute, the workload runs in your own VNet/VPC, so using your own NAT Gateway to present a stable public egress IP is a standard pattern. With serverless, the compute runs in the D...

  • 0 kudos
vvanag
by • New Contributor III
  • 1612 Views
  • 5 replies
  • 1 kudos

Resolved! Rendering HTML in ipywidgets output

Hi, I am experimenting with IPywidgets on Databricks (company Azure account and Free Edition).I have an HTML that I would like to render so typically what happens is that simple things like:import ipywidgets as widgets output = widgets.Output() wit...

  • 1612 Views
  • 5 replies
  • 1 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 1 kudos

Hi @vvanag, What you’re seeing is expected to some extent in Databricks Notebooks. Databricks supports ipywidgets, but it doesn’t guarantee full Jupyter or Colab parity, and there are a few documented limitations on how widgets render and behave in n...

  • 1 kudos
4 More Replies
HarshVardhan1
by • Databricks Partner
  • 781 Views
  • 1 replies
  • 1 kudos

Resolved! Oracle HIVE Metadata to Databricks UC migration

Dear Databricks Member, Could you please recommend the best solution for the following use case? Use Case: The Hive Metastore is currently used to manage metadata and is backed by an Oracle database. This metastore stores critical information such as...

  • 781 Views
  • 1 replies
  • 1 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 1 kudos

Hi @HarshVardhan1, The best approach for your scenario is usually not to migrate the Oracle database itself into Unity Catalog. Instead, the supported pattern is to migrate the Hive Metastore objects into Unity Catalog using Databricks migration tool...

  • 1 kudos
peter_hoeltschi
by • Databricks Partner
  • 1188 Views
  • 3 replies
  • 1 kudos

SCD2 table migration using LakeFlow

A source SQL DB of an operational systems delivers daily snapshots to a legacy DWH with SCD2 logic enabled. Now for a migration to Databricks. Lets look at the table "customer" (SCD2; with customer_id, valid_from and valid_to columns). On migration d...

  • 1188 Views
  • 3 replies
  • 1 kudos
Latest Reply
amirabedhiafi
Honored Contributor
  • 1 kudos

Hello @peter_hoeltschi !I think your workspace or user permissions only allow SQL/serverless compute not classi clusters because even if you have enterprise pay-as-you-go at the account level does not automatically mean every user can create all-purp...

  • 1 kudos
2 More Replies
ccsalt
by • New Contributor II
  • 1136 Views
  • 4 replies
  • 1 kudos

Inconsistent Cluster Log Persistence to Volume/S3 (stderr, stdout, log4j-active.log)

Saving logs from an all-purpose cluster to Volume or S3 is not consistent, because stderr, stdout, and log4j-active.log get overwritten when the cluster is restarted between minutes 01 and 59.Tested case:A job is configured to start every 20 minutes,...

  • 1136 Views
  • 4 replies
  • 1 kudos
Latest Reply
aleksandra_ch
Databricks Employee
  • 1 kudos

Hi @ccsalt , This is a known limitation. Log rotation (renaming to log4j-YYYY-MM-DD-HH.log.gz) only happens on the hour boundary. The active log file log4j-active.log has always the same name and is overwritten if a cluster restart happens within one...

  • 1 kudos
3 More Replies
Tracy_
by • Databricks Partner
  • 22082 Views
  • 7 replies
  • 0 kudos

Incorrect reading csv format with inferSchema

Hi All,There is a CSV with a column ID (format: 8-digits & "D" at the end).When trying to read a csv with .option("inferSchema", "true"), it returns the ID as double and trim the "D". Is there any idea (apart from inferSchema=False) to get correct ...

image.png
  • 22082 Views
  • 7 replies
  • 0 kudos
Latest Reply
nagarajudevu
New Contributor II
  • 0 kudos

i am getting the following error when working in Databricks free edition newly logged inthe code i wrote :from pyspark.sql.functions import *data = "workspace.default.asl.csv"df = spark.read.format("csv").option("header","true").option("inferSchemacc...

  • 0 kudos
6 More Replies
Ashley1
by • Contributor
  • 10056 Views
  • 5 replies
  • 2 kudos

Resolved! Turn off AI assistance in notebooks

Hi, has anyone found a way that the AI assistant can be turned off in notebooks? I would be happy to keep code introspection but I find I'm more often hitting escape than accepting the AI's suggestions (or removing the code it has suggested when I ac...

  • 10056 Views
  • 5 replies
  • 2 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 2 kudos

Hi @Ashley1, There are a few different levels where you can control the AI assistance behavior in notebooks. Here is a breakdown: USER-LEVEL: DISABLE AI AUTOCOMPLETE (INLINE SUGGESTIONS) This is the setting that controls the "ghost text" inline code ...

  • 2 kudos
4 More Replies
Schaubi
by • New Contributor II
  • 2077 Views
  • 2 replies
  • 2 kudos

Resolved! Lakehouse Federation Join Pushdown

Hi,I experimented a little bit with lakehouse federation. I created a connection and foreign catalog that references a SQL Server and activated the public preview feature for Join Pushdowns. After finishing my experiments, it seems to me that the fea...

Data Engineering
join-pushdown
lakehouse-federation
sql-server
  • 2077 Views
  • 2 replies
  • 2 kudos
Latest Reply
StefanSch
New Contributor II
  • 2 kudos

Hi,I have experimented a bit with join pushdowns and experienced that intra-schema-Joins are not pushed down if there is a table joined between that is part of another schema.Example:In the following example the Join between x1 and x2 is pushed down ...

  • 2 kudos
1 More Replies
Labels