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

532664
by New Contributor III
  • 9134 Views
  • 11 replies
  • 3 kudos

Resolved! Replay(backfill) DLT CDC using kafka

Hello,We are receiving DB CDC binlogs through Kafka and synchronizing tables in OLAP system using the apply_changes function in Delta Live Table (DLT). A month ago, a column was added to our table, but due to a type mismatch, it's being stored incorr...

  • 9134 Views
  • 11 replies
  • 3 kudos
Latest Reply
jcozar
Contributor
  • 3 kudos

Thank you @532664 for your detailed response! That's seems to me a very good solution, and it also helps me with my doubts

  • 3 kudos
10 More Replies
sunkam
by New Contributor
  • 5570 Views
  • 4 replies
  • 0 kudos

Unable to read from azure blob using SAS token\\

I have tried many times all the answers from the internet and stackover flowI have already created the config section before this steps, it passed but this below step is not executing.

image
  • 5570 Views
  • 4 replies
  • 0 kudos
Latest Reply
aockenden
New Contributor III
  • 0 kudos

We were getting this problem when using directory-scoped SAS tokens. While I know there are a number of potential issues that can cause this problem, one potential explanation is that it turns out there is an undocumented spark setting needed on the ...

  • 0 kudos
3 More Replies
chari
by Contributor
  • 2808 Views
  • 0 replies
  • 1 kudos

connect azure databricks to reverso using API

Hi Databricks community,Reverso is a language translation tool that converts texts from one language to another. I need to convert hundreds of text but its time consuming. Hence, I want to use its API to automate the process.How can I achieve this in...

  • 2808 Views
  • 0 replies
  • 1 kudos
MunikrishnaS
by New Contributor II
  • 6992 Views
  • 5 replies
  • 0 kudos

What are optimized solutions for moving on-premise IBM DB2 CDC data to Databricks Delta table

Hi Team,My requirement is to move build a solution to move zos(db2) CDC data to Delta table on Realtime bases(at least near realtime) , data volume and number of tables are little huge (100 tables) I have researched I dont find any inbuild options in...

  • 6992 Views
  • 5 replies
  • 0 kudos
Latest Reply
MunikrishnaS
New Contributor II
  • 0 kudos

Thank you @-werners- 

  • 0 kudos
4 More Replies
gardener
by New Contributor III
  • 3293 Views
  • 1 replies
  • 0 kudos

Resolved! Url column issue in UC information_schema.schemata view definition

Hi, I recently observed that, after creating a new catalog (without a managed location) in Unity Catalog, a column named 'url' is included in the definition of the information_schema.schemata view.However, there is no url column in the underlying tab...

  • 3293 Views
  • 1 replies
  • 0 kudos
N_M
by Contributor
  • 7005 Views
  • 3 replies
  • 0 kudos

Resolved! ignoreCorruptFiles behavior with CSV and COPY INTO

HiI'm using the COPY INTO command to insert new data (in form of CSVs) into an already existing table.The SQL query takes care of the conversion of the fields to the target table schema (well, there isn't other way to do that), and schema update is n...

Data Engineering
COPY INTO
ignoreCorruptFiles
  • 7005 Views
  • 3 replies
  • 0 kudos
Latest Reply
N_M
Contributor
  • 0 kudos

I actually found an option that could solve the newline issue I mentioned in my previous post:setting spark.sql.csv.parser.columnPruning.enabled to false withspark.conf.set("spark.sql.csv.parser.columnPruning.enabled", False)will consider malformed r...

  • 0 kudos
2 More Replies
datakilljoy
by New Contributor II
  • 3822 Views
  • 1 replies
  • 0 kudos

Best practice for Azure Key vault secrets in spark config

HelloI created a compute in which I refer the secret inside the spark config like this: spark.hadoop.fs.azure.account.key.xxxxxxxxxx.dfs.core.windows.net {{secrets/kv-xxxxxxx-xxxx/secret-name}}  This, however, gives me the following warning.   I've l...

datakilljoy_0-1704724007789.png
Data Engineering
cluster
compute
spark
  • 3822 Views
  • 1 replies
  • 0 kudos
Latest Reply
datakilljoy
New Contributor II
  • 0 kudos

Extra info: I have used the format following the instructions on this page for spark configurationhttps://learn.microsoft.com/en-us/azure/databricks/connect/storage/azure-storage#:~:text=Use%20the%20following%20format%20to%20set%20the%20cluster%20Spa...

  • 0 kudos
merca
by Valued Contributor II
  • 12785 Views
  • 1 replies
  • 0 kudos

Resolved! Problems with DLT, Unity catalog and external connection

I have following code:org = spark.read.table("catalog.dbo.organisation") @dlt.create_table() def organization(): return orgThe catalog is an external azure sql database (using external connector)When i validate this in Delta live table workflow I...

  • 12785 Views
  • 1 replies
  • 0 kudos
Latest Reply
Sumit671
New Contributor III
  • 0 kudos

use preview channel while create pipeline instead of current

  • 0 kudos
Databricks-acn
by Databricks Partner
  • 3458 Views
  • 2 replies
  • 0 kudos

Unable to load data in DLT tables from Federated data sources

I tried to run this query and failing to load the data .What do I need to do load from federated data sources using DLT if this is not correct CREATE OR REPLACE LIVE TABLE bulkuploadhistory COMMENT 'Table generated for bulkuploadhistory.' TBLPROPERTI...

  • 3458 Views
  • 2 replies
  • 0 kudos
Latest Reply
Databricks-acn
Databricks Partner
  • 0 kudos

Considering the databricks release cycles , is there any tenative dates that I can be aware of so that I can plan for my production releases

  • 0 kudos
1 More Replies
leelee3000
by Databricks Employee
  • 2408 Views
  • 2 replies
  • 0 kudos

Development Feedback Loop

I've noticed that the current development cycle for DLT jobs is quite time-consuming. The process of coding, saving, running in a workflow, and debugging seems arduous, and the feedback loop is slow. Is there a way to run DLT jobs without relying on ...

  • 2408 Views
  • 2 replies
  • 0 kudos
prapot
by New Contributor II
  • 11878 Views
  • 2 replies
  • 3 kudos

Resolved! How to write a Spark DataFrame to CSV file with our .CRC in Azure Databricks?

val spark:SparkSession = SparkSession.builder() .master("local[3]") .appName("SparkByExamples.com") .getOrCreate()//Spark Read CSV Fileval df = spark.read.option("header",true).csv("address.csv")//Write DataFrame to address directorydf.write...

  • 11878 Views
  • 2 replies
  • 3 kudos
Latest Reply
Nw2this
New Contributor II
  • 3 kudos

Will your csv have the name prefix 'part-' or can you name it whatever you like?

  • 3 kudos
1 More Replies
hukel
by Contributor
  • 6860 Views
  • 6 replies
  • 0 kudos

Unsupported datatype 'TimestampNTZType' with liquid clustering

I'm experimenting with liquid clustering and have some questions about compatible types  (somewhat similar to Liquid clustering with boolean columns ).Table created as CREATE TABLE IF NOT EXISTS <TABLE> ( _time DOUBLE , timestamp TIMESTAMP_NT...

  • 6860 Views
  • 6 replies
  • 0 kudos
Latest Reply
Wojciech_BUK
Valued Contributor III
  • 0 kudos

Hi,just educated guess:There is limitation in liquid clustering docs: You can only specify columns with statistics collected for clustering keysPerhaps it is related to data types for which you can collect statistics?But i could not find related docs...

  • 0 kudos
5 More Replies
AndyKeel
by Databricks Partner
  • 1813 Views
  • 1 replies
  • 0 kudos

Creating an ADLS storage credential for an AWS Workspace

I'd like to create a storage credential for an Azure Storage Account in an AWS workspace. I then plan to use this storage credential to create an external volume.Is this possible, and if so what are the steps? Thanks for any help!

  • 1813 Views
  • 1 replies
  • 0 kudos
Latest Reply
AndyKeel
Databricks Partner
  • 0 kudos

Thanks for your help.I'm struggling to create the Storage Credential. I have created a managed identity via an Azure Databricks Access Connector and am making an API call based on what I'm reading in the API docs: Create a storage credential | Storag...

  • 0 kudos
DH_Fable
by New Contributor II
  • 1693 Views
  • 0 replies
  • 0 kudos

Downloading multiple excel files at once from repo

I have a notebook that produces lots of excel files which I want downloading on my local machine.I can only currently download one by one which takes a long time when there are a lot of them.Is there a way without using Azure CLI to download all of t...

  • 1693 Views
  • 0 replies
  • 0 kudos
Pratibha
by New Contributor II
  • 3104 Views
  • 0 replies
  • 0 kudos

how max_retry_interval_millis works with retry_on_timeout in Data bricks.

 my project I want if job take longer time then it will terminate and again it will try even if there is timeout error and in databricks launched status should show retry by scheduler and it should follow min_retry_interval_millis before  start retry...

Data Engineering
min_retry_interval_millis
  • 3104 Views
  • 0 replies
  • 0 kudos
Labels