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

David_Billa
by • New Contributor III
  • 2842 Views
  • 1 replies
  • 0 kudos

Create delta table with space in field names per source CSV file

There are few fields in the source CSV file which has spaces in the field names. When I tried to create the table like `SOURCE 1 NAME` as string for few fields, I got an error message like 'INVALID_COLUMN_NAME_AS_PATH' error.  Runtime version is 10.2...

  • 2842 Views
  • 1 replies
  • 0 kudos
Latest Reply
RiyazAliM
Honored Contributor
  • 0 kudos

Hi @David_Billa Before ingesting the csv data into the delta table, you could create delta table using the table properties as shown below:CREATE TABLE catalog_name.schema_name.table_name (`a` string, `b c` string) TBLPROPERTIES ( 'delta.minReade...

  • 0 kudos
lauraxyz
by • Contributor
  • 3621 Views
  • 4 replies
  • 0 kudos

%run command: Pass Notebook path as a parameter

Hi team!I have a Notebook (notebook A) in workspace and I'd like to execute it with %run command from another Notebook (notebook B).  It works perfect with command: %run /workspace/path/to/notebook/ANow, i want to specify above path in a variable, an...

  • 3621 Views
  • 4 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

These global temp views are available to all workloads running against a compute resource, but they do not persist beyond the lifecycle of the cluster or the session that created them.You can refer to https://docs.databricks.com/en/views/index.html#t...

  • 0 kudos
3 More Replies
jeremy98
by • Honored Contributor
  • 7655 Views
  • 2 replies
  • 0 kudos

How to migrate the data from Postgres to Databricks?

Hello Community,I have a question about migrating data from PostgreSQL to Databricks. My PostgreSQL database receives new data every hour, and I want to synchronize these hourly inserts with the bronze layer in my Databricks catalog.Currently, I’m us...

  • 7655 Views
  • 2 replies
  • 0 kudos
Latest Reply
jeremy98
Honored Contributor
  • 0 kudos

Hello Walter,Thank you for your help - you're amazing. I wanted to explain my current challenge in more detail:We have a platform that stores data in PostgreSQL, with a pipeline ingesting millions of rows every hour. We're trying to migrate this data...

  • 0 kudos
1 More Replies
lauraxyz
by • Contributor
  • 2709 Views
  • 6 replies
  • 1 kudos

refresh online table: How to get update_id and check status of a specific update

Hi!I have a workflow job to trigger a refresh of an online table. How can I get the update_id with this specific refresh?Also, is it possible to get the status from this specific update_id?Thanks!

  • 2709 Views
  • 6 replies
  • 1 kudos
Latest Reply
lauraxyz
Contributor
  • 1 kudos

Another qq: Since online table has 3 sync mode: Snapshot, Triggered, and Continuous.   when refreshing the online table with w.pipelines.start_update(pipeline_id='{pipeline_id}', full_refresh=True) which sync mode is used by default? 

  • 1 kudos
5 More Replies
Karthik_2
by • New Contributor II
  • 4940 Views
  • 1 replies
  • 0 kudos

ODBC driver-System.Data.Odbc.OdbcException: 'ERROR [IM002] [Microsoft][ODBC Driver Manager] Data sou

Hi there,I’m working on a POC to connect a C# application to query tables from Unity Catalog using the ODBC connector. Currently, I’m testing this locally using Visual Studio. I followed the steps in the ODBC documentation, but I’m encountering the f...

  • 4940 Views
  • 1 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

The error message you encountered, "ERROR [ODBC Driver Manager] Data source name not found and no default driver specified," typically indicates that the ODBC driver manager cannot find the specified data source name (DSN) or that no default driver i...

  • 0 kudos
jeremy98
by • Honored Contributor
  • 1950 Views
  • 1 replies
  • 0 kudos

Resolved! Move on DLT Pipelines or CDF Delta Tables?

Hello Community,I have a basic question that I’ve been thinking about lately. Is it better to use DLT Pipelines or CDF Delta Tables for handling a medallion architecture?I understand that DLT Pipelines offer some shortcuts, but are they a good choice...

  • 1950 Views
  • 1 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @jeremy98, When deciding between using Delta Live Tables (DLT) Pipelines and Change Data Feed (CDF) Delta Tables for handling a medallion architecture, there are several factors to consider.   DLT Pipelines:   Automation and Management: DLT Pipeli...

  • 0 kudos
minhhung0507
by • Valued Contributor
  • 6489 Views
  • 5 replies
  • 3 kudos

Resolved! Handling Dropped Records in Delta Live Tables with Watermark - Need Optimization Strategy

Hi Databricks Community,I'm encountering an issue with watermarks in Delta Live Tables that's causing data loss in my streaming pipeline. Let me explain my specific problem:Current SituationI've implemented watermarks for stateful processing in my De...

  • 6489 Views
  • 5 replies
  • 3 kudos
Latest Reply
minhhung0507
Valued Contributor
  • 3 kudos

 Dear @VZLA, @Walter_C ,I wanted to take a moment to express my sincere gratitude for your incredibly detailed explanation and thoughtful suggestions. Your guidance has been immensely valuable and has provided us with a clear path forward in addressi...

  • 3 kudos
4 More Replies
Fikrat
by • Databricks Partner
  • 4740 Views
  • 6 replies
  • 0 kudos

Resolved! Can SQL task pass its outputs to ForEach task?

Hi there,If I understood correctly, Roland said output SQL task can be used as input to ForEach task in Workflows. I tried that and used the expression sqlTaskName.output.rows, but Databricks rejected that expression. Anyone know how to do that? 

  • 4740 Views
  • 6 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

Our internal teams has confirmed that this is currently not working on your side as this feature is currently in Private preview we will need to wait for some time until it is fully released.

  • 0 kudos
5 More Replies
jorperort
by • Contributor
  • 23894 Views
  • 8 replies
  • 4 kudos

Resolved! [Databricks Assets Bundles] no deployment state

Good morning, I'm trying to run: databricks bundle run --debug -t dev integration_tests_job My bundle looks: bundle: name: x include: - ./resources/*.yml targets: dev: mode: development default: true workspace: host: x r...

Data Engineering
Databricks Assets Bundles
Deployment Error
pid=265687
  • 23894 Views
  • 8 replies
  • 4 kudos
Latest Reply
jtberman
Databricks Partner
  • 4 kudos

Hello, Reopening this ticket in hopes that either of you had some luck in resolving your bug.  I am currently facing the same issue where I can deploy an asset bundle via the local CLI without issue (by deploy I mean the bundle code is written to my ...

  • 4 kudos
7 More Replies
tinai_long
by • New Contributor III
  • 18458 Views
  • 12 replies
  • 6 kudos

Resolved! How to refresh a single table in Delta Live Tables?

Suppose I have a Delta Live Tables framework with 2 tables: Table 1 ingests from a json source, Table 2 reads from Table 1 and runs some transformation.In other words, the data flow is json source -> Table 1 -> Table 2. Now if I find some bugs in the...

  • 18458 Views
  • 12 replies
  • 6 kudos
Latest Reply
cpayne_vax
Contributor
  • 6 kudos

Answering my own question: nowadays (February 2024) this can all be done via the UI.When viewing your DLT pipeline there is a "Select tables for refresh" button in the header. If you click this, you can select individual tables, and then in the botto...

  • 6 kudos
11 More Replies
Sadam97
by • New Contributor III
  • 3186 Views
  • 7 replies
  • 0 kudos

Error on GCE job cluster after upgrading from GKE

We upgraded the GKE cluster to GCE cluster as per the databricks documentation. It works fine on GCE all purpose cluster but gives error while trying to access the databricks managed secret on GCE job cluster. Job is being executed using service prin...

  • 3186 Views
  • 7 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @Sadam97, As I mentioned in my message, the failure happened because cluster failed to add containers, this could be due to different reasons, therefore asking you to raise a case with us to properly investigate this.

  • 0 kudos
6 More Replies
Abishrp
by • Contributor
  • 2146 Views
  • 3 replies
  • 2 kudos

Resolved! Unified access token to access Databricks and AWS resourse

In azure databricks, it is able to access azure resources and databricks apis using unified MS Entra Id tokens, Similary how can i able to access aws resources and databricks apis (workspace created in cloudformation) using unified access tokens. Her...

  • 2146 Views
  • 3 replies
  • 2 kudos
Latest Reply
Walter_C
Databricks Employee
  • 2 kudos

I will try to validate on why this is the case, but I have confirmed that indeed for API calls in AWS the token needs to be Databricks generated.

  • 2 kudos
2 More Replies
jeremy98
by • Honored Contributor
  • 1124 Views
  • 1 replies
  • 0 kudos

Conflicts MetaDataChanged

Hello Community,I'm encountering a problem with Databricks Delta Tables. Specifically, I have several tables that are accessed by different processes, which include both write and update operations. The main issue arises when these operations overlap...

  • 1124 Views
  • 1 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

You can refer to the best practices mentioned in https://docs.databricks.com/en/optimizations/isolation-level.html 

  • 0 kudos
zuzsad
by • New Contributor II
  • 2550 Views
  • 3 replies
  • 1 kudos

Azure Asset Bundle deploy removes the continous: true configuration

I have this pipeline configuration that I'm deploying using Azure Asset Bundles:ingest-pipeline.test.yml```resources:  pipelines:    ingest-pipeline-test:      name: ingest-pipeline-test-2      clusters:        - label: default          node_type_id:...

  • 2550 Views
  • 3 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

I just got confirmation internally that as of now Continuous is disabled in mode: development

  • 1 kudos
2 More Replies
RobsonNLPT
by • Contributor III
  • 5574 Views
  • 2 replies
  • 0 kudos

Delta UserMetadata attribute using Serverless Compute

To automate the configuration of Spark on serverless compute, Databricks has removed support for manually setting most Spark configurations. I've used userMetadata attribute to add context for all workloads that write to delta tablesI have the follow...

  • 5574 Views
  • 2 replies
  • 0 kudos
Latest Reply
VZLA
Databricks Employee
  • 0 kudos

@RobsonNLPT  I see, so you're currently getting a "Configuration spark.databricks.delta.commitInfo.userMetadata is not available" correct? I did an internal research and there doesn't seem to be a workaround for this yet, but it'll be good if you co...

  • 0 kudos
1 More Replies
Labels