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: 
Data + AI Summit 2024 - Data Engineering & Streaming

Forum Posts

Erik
by Valued Contributor III
  • 85 Views
  • 2 replies
  • 2 kudos

Managing streaming checkpoints with unity catalog

This is partly a question, partly a feature request: How do you guys handle streaming checkpoints in combination with unity catalog managed tables?It seems like the only way is to create a volume, and manually specify paths in it as streaming checkpo...

  • 85 Views
  • 2 replies
  • 2 kudos
Latest Reply
cgrant
Databricks Employee
  • 2 kudos

For Structured Streaming Applications, this would be a nice feature. Delta Live Tables manages checkpoints for you out of the box - you don't even have to reason about checkpoints at all, would recommend checking it out!

  • 2 kudos
1 More Replies
Frustrated_DE
by New Contributor III
  • 37 Views
  • 3 replies
  • 1 kudos

Data comparison

Hi,   Are there any tools within Databricks for large volume data comparisons, I appreciate there's methods for dataframe comparisons for unit testing (assertDataFrameEqual) but it is my understanding these are for testing transformations on smallish...

  • 37 Views
  • 3 replies
  • 1 kudos
Latest Reply
cgrant
Databricks Employee
  • 1 kudos

Borrowed from LinkedIn, here is a SQL query you can use to compare two tables (or dataframes) with hash_src as ( select hash(*) as hash_val from my.source.table ), hash_tgt as ( select hash(*) as hash_val from my.target.table ) select sum(hash_val) ...

  • 1 kudos
2 More Replies
NhanNguyen
by Contributor II
  • 62 Views
  • 2 replies
  • 0 kudos

ConcurrentAppendException After Delta Table was enable Liquid Clustering and Row level concurrency

Everytime I run parallel job it always failed with this error: ConcurrentAppendException: Files were added to the root of the table by a concurrent update. Please try the operation again.I did a lot of reseaches also create liquid clustering table an...

  • 62 Views
  • 2 replies
  • 0 kudos
Latest Reply
cgrant
Databricks Employee
  • 0 kudos

See this chart for a description of how row-level concurrency works. With row-level concurrency, concurrent merge operations still cannot safely modify the same row. Without row-level concurrency, concurrenty merge operations cannot safely modify the...

  • 0 kudos
1 More Replies
Thor
by New Contributor III
  • 21 Views
  • 1 replies
  • 0 kudos

Asynchronous progress tracking with foreachbatch

Hello,currently the doc says that async progress tracking is available only for Kafka sink:https://docs.databricks.com/en/structured-streaming/async-progress-checking.htmlI would like to know if it would work for any sink that is "exactly once"?I exp...

  • 21 Views
  • 1 replies
  • 0 kudos
Latest Reply
cgrant
Databricks Employee
  • 0 kudos

Asynchronous progress tracking is a feature designed for ultra low latency use cases. You can read more in the open source SPIP doc here, but the expected gain in time is in the hundreds of milliseconds, which seems insignificant when doing merge ope...

  • 0 kudos
Krishna2110
by New Contributor II
  • 22 Views
  • 1 replies
  • 0 kudos

Catalog Sample Data is not visible with all purpose cluster

Hi All,I need one help even i have the cluster access and i can able to run it attaching with the notebook, still when im going in catalog to see the sample data im able to see an error, Here is the error,@ipriyanksingh , FYRCan anyone please help us...

Krishna2110_0-1732639768443.png
  • 22 Views
  • 1 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @Krishna2110, Based on the error are you using any token? Ensure that the access token is valid and has not expired.  Is your workspace Unity Catalog enabled? and which are your cluster settings to browse through the data?

  • 0 kudos
menonshiji
by New Contributor
  • 1108 Views
  • 1 replies
  • 0 kudos

#HelpPost for Azure Blob to Databricks connection.

Hi,There is a set of .csv/.txt files in the storage container ie Azure Blob Storage/ Azure Storage Gen 2. I would like to ingest the files to Databricks. Dataset,LinkedServices was created on both ends. Also an all purpose cluster was created in Bric...

  • 1108 Views
  • 1 replies
  • 0 kudos
Latest Reply
cgrant
Databricks Employee
  • 0 kudos

These errors occur when you are not authenticated / properly authorized to access the storage account. Ensure that you've set proper storage credential configurations, and that those credentials have proper access. Documentation here.

  • 0 kudos
Nurota
by New Contributor II
  • 2389 Views
  • 1 replies
  • 0 kudos

Describe table extended on materialized views - UC, DLT and cluster access modes

We have a daily job with a notebook that loops through all the databases and tables, and optimizes and vacuums them.Since in UC DLT tables are materialized views, the "optimize" or "vacuum" commands do not work on them, and they need to be excluded. ...

Data Engineering
cluster access mode
dlt
materialized views
optimize
Unity Catalog
  • 2389 Views
  • 1 replies
  • 0 kudos
Latest Reply
cgrant
Databricks Employee
  • 0 kudos

For this kind of table maintenance, Predictive Optimization is recommended. If looping over all tables in a metastore is required, it is recommended to instead use system.information_schema.tables as your source instead of calling spark.sql(). For th...

  • 0 kudos
jeremy98
by New Contributor
  • 24 Views
  • 2 replies
  • 0 kudos

start another workflow waiting the completion of a job-run of the same workflow

Hello community,I'm using DABs I want to know if It is possible to configure the yaml file a logic that allows me to run a workflow if the previous job run is finished of the same workflow. Is it possible to do it? Do I need to create a task that che...

  • 24 Views
  • 2 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hello @jeremy98, Yes, it is possible to configure a YAML file to run a workflow only if the previous job run of the same workflow has finished. You can achieve this by defining dependencies between tasks within the workflow. You can specify task depe...

  • 0 kudos
1 More Replies
ctiwari7
by New Contributor II
  • 25 Views
  • 2 replies
  • 0 kudos

Databricks workflow job

Hi team,I am trying to execute a workflow job which takes in a parameter as unique identifier. I am using this job parameter to push down to tasks. I was hoping if there is any way for me to use python uuid4() function to generate unique id every tim...

  • 25 Views
  • 2 replies
  • 0 kudos
Latest Reply
Stefan-Koch
Contributor II
  • 0 kudos

hi ctiwari7A possible way to do that, you create a python file which generates the uuid and then pass it to jobs.taskValues. This is described here: https://docs.databricks.com/en/jobs/task-values.html As test, I created a python file, with the follo...

  • 0 kudos
1 More Replies
ctiwari7
by New Contributor II
  • 515 Views
  • 2 replies
  • 1 kudos

get job run link based on the job name or the submit body

This is the current code(ignore indentations) that I am using which takes the list of all the running jobs and then filters from the list to get the run id of the matching job name. I want to know if there is any better way to optimise this. Legacy d...

  • 515 Views
  • 2 replies
  • 1 kudos
Latest Reply
ctiwari7
New Contributor II
  • 1 kudos

even the rest API also provides the job details based on the job id which I would need to get from the job_name that I have. This seems like the only possible solution since job_id is the true identifier of any workflow job considering we can have mu...

  • 1 kudos
1 More Replies
Isa1
by Visitor
  • 79 Views
  • 6 replies
  • 3 kudos

Resolved! Moving existing Delta Live Table to Asset Bundle

Hi!I am creating an Asset Bundle, which also includes my streaming Delta Live Table Pipelines. I want to move these DLT pipelines to the Asset Bundle, without having to run my DLT streaming Pipeline on all historical files (this takes a lot of comput...

  • 79 Views
  • 6 replies
  • 3 kudos
Latest Reply
Walter_C
Databricks Employee
  • 3 kudos

When you change the path to the notebook or the name of the pipeline in your Delta Live Table (DLT) pipeline, it can indeed cause issues. Specifically, changing the path to the notebook or the name of the pipeline can lead to the recreation of the pi...

  • 3 kudos
5 More Replies
shadowinc
by New Contributor III
  • 31 Views
  • 1 replies
  • 2 kudos

Delete Partition Folders

Hello team, as DataBricks moved away from hive-style partitioning, we can see some 2-letter partition folders created. And I have observed that the vacuum doesn't delete these folders (even though they are empty). Is there any way to delete those usi...

Data Engineering
delta
vacuum
  • 31 Views
  • 1 replies
  • 2 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 2 kudos

Hello @shadowinc, VACUUM is used to clean up unused and stale data files that are no longer referenced by a Delta table and are older than a specified retention period (default is 7 days). It does not remove empty directories. I think manual cleanup ...

  • 2 kudos
Hubert-Dudek
by Esteemed Contributor III
  • 10758 Views
  • 6 replies
  • 17 kudos

Resolved! Optimize and Vacuum - which is the best order of operations?

Optimize -> VacuumorVacuum -> Optimize

  • 10758 Views
  • 6 replies
  • 17 kudos
Latest Reply
shadowinc
New Contributor III
  • 17 kudos

What about ReOrg delta table https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/delta-reorg-tableDoes it help or make sense to add Re-org then Optimize - Vacuum every week?Reorganize a Delta Lake table by rewriting files to purge ...

  • 17 kudos
5 More Replies
Kamal2
by New Contributor II
  • 15752 Views
  • 3 replies
  • 4 kudos

Resolved! PDF Parsing in Notebook

I have pdf files stored in azure adls.i want to parse pdf files in pyspark dataframeshow can i do that ?

  • 15752 Views
  • 3 replies
  • 4 kudos
Latest Reply
Mykola_Melnyk
  • 4 kudos

Please look to the PDF DataSource for Apache Spark.This project provides a custom data source for the Apache Spark that allows you to read PDF files into the Spark DataFrame. And here notebook with example of usage.df = spark.read.format("pdf") \ ...

  • 4 kudos
2 More Replies

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group
Labels