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

Raj_DB
by • Contributor
  • 61 Views
  • 2 replies
  • 0 kudos

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...

  • 61 Views
  • 2 replies
  • 0 kudos
Latest Reply
Harshad_B
New Contributor III
  • 0 kudos

@Raj_DB, Databricks has native Lakeflow connector to connect with Snowflake and ingest data. But it is not a recommended solution if your requirement is to only read data and not have it physically ingested in a catalog. If data is read-only then con...

  • 0 kudos
1 More Replies
Phani1
by • Databricks MVP
  • 1602 Views
  • 4 replies
  • 0 kudos

Resolved! Databricks Cost Estimation Template

Hi Databricks Team, Is there a standard Databricks cost estimation template(xl), sizing calculator, or TCO tool that allows us to provide the following inputs and derive an approximate monthly and annual platform cost:Source systems and their types (...

  • 1602 Views
  • 4 replies
  • 0 kudos
Latest Reply
Harshad_B
New Contributor III
  • 0 kudos

@Phani1 @robert7878 - You can build a AI/BI dashboard pretty easily using Genie, just give what is required and how you want it to be represented.

  • 0 kudos
3 More Replies
i4ata
by • New Contributor II
  • 436 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...

  • 436 Views
  • 3 replies
  • 1 kudos
Latest Reply
saurabh18cs
Honored Contributor III
  • 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
faruk
by • Contributor
  • 123 Views
  • 3 replies
  • 3 kudos

Lakeflow Connect – Hard Deletion Sync: GA Timeline and Production Readiness

Hello Databricks Community,We are using a Lakeflow Connect managed ingestion pipeline with the query-based connector to ingest Oracle tables via Unity Catalog foreign catalogs (Lakehouse Federation) on Azure Databricks.One of our requirements is to c...

  • 123 Views
  • 3 replies
  • 3 kudos
Latest Reply
faruk
Contributor
  • 3 kudos

@NinaThoni Thank you for your response.I believe the best approach would be to implement a custom primary key reconciliation mechanism and optimize its performance by limiting the comparison to the last two months of data. In our case, older data can...

  • 3 kudos
2 More Replies
kapil_dua
by • Databricks Partner
  • 118 Views
  • 1 replies
  • 0 kudos

Data Ingestion Lakeflow UI Bug - Does not allow to create streaming table with BINARY data type

Data Ingestion (Lakeflow) Feature Bug:While creating Data Ingestion streaming table for ingesting pdf files, so that it can store into Binary format, it doesn't allow to select for BINARY data type for a column like (content), but it chose default da...

  • 118 Views
  • 1 replies
  • 0 kudos
Latest Reply
AbhilashNagilla
Databricks Employee
  • 0 kudos

Reading the PDFs with the binaryFile format returns a fixed schema (path, modificationTime, length, content) with content already typed as BINARY, so there's no column type to set (binary file data source, read_files). You can run this in the SQL edi...

  • 0 kudos
Pratikmsbsvm
by • Contributor
  • 10960 Views
  • 5 replies
  • 3 kudos

Data Migration from SAP S/4HANA to Databricks

May someone please help me designing the Migration of SAP S/4 HANA to Databricks. How to design this. what all we need to consider as LLD.1. How Data needs to be extracted and by which tool ? near–real-time replication is required2. Each layer for Da...

  • 10960 Views
  • 5 replies
  • 3 kudos
Latest Reply
dima
New Contributor
  • 3 kudos

@Pratikmsbsvm I will try to be brief but accurate.1. Getting data out of SAPYou need a properly supported connector/extraction method. You can start researching Fivetran, SNP Glue and alike. What you need to understand is that this can be expensive, ...

  • 3 kudos
4 More Replies
Brahmareddy
by • Esteemed Contributor II
  • 355 Views
  • 2 replies
  • 1 kudos

AI Agents Should Not Start Every Conversation From Zero

Databricks Agent Memory brings an interesting new direction to building AI agents that can learn from past interactions.Recently, Databricks introduced Agent Memory, and I think this is an interesting step toward making AI agents more useful in every...

  • 355 Views
  • 2 replies
  • 1 kudos
Latest Reply
DoTA
Honored Contributor
  • 1 kudos

Worth knowing before anyone builds on it: the docs now mark the earlier managed memory store as deprecated and point new agents at the newer agent memory plus agent sessions, which Databricks runs on Lakebase for you. The self-managed Lakebase route ...

  • 1 kudos
1 More Replies
jakobhaggstrom
by • New Contributor
  • 102 Views
  • 1 replies
  • 0 kudos

Support for mTLS in oracle

Hi all,We want to ingest from an Oracle Autonomous Database on Exadata Cloud@Customer with the Lakeflow Connect query-based Oracle connector (classic compute). The database enforces mutual TLS: the listener requires a client certificate from the Orac...

  • 102 Views
  • 1 replies
  • 0 kudos
Latest Reply
NinaThoni
Databricks Employee
  • 0 kudos

Hi @jakobhaggstrom, Thanks for the detailed write-up.You've read it correctly. Today, Unity Catalog Oracle connections, Lakehouse Federation and the Lakeflow Connect Oracle connectors don't support client-certificate or Oracle wallet (mTLS) authentic...

  • 0 kudos
JanW
by • New Contributor
  • 156 Views
  • 2 replies
  • 1 kudos

Add resource to app space

Hi,I recently started trying out the Genie App Builder first presented at DAIS. For this I created an app space and I wanted to connect my app to a lakebase project. But I can't seem to find any options to do this like it works with apps which are no...

  • 156 Views
  • 2 replies
  • 1 kudos
Latest Reply
LingeshK
Databricks Employee
  • 1 kudos

Hello @JanW  Following up on the answer above from @saurabh18cs  and the results of a quick API test. Thank you for setting out what you tried and how you compared it with an app outside a space. That made the case easy to reproduce Short answer: You...

  • 1 kudos
1 More Replies
Khasim_1
by • Contributor
  • 325 Views
  • 3 replies
  • 0 kudos

Unity Catalog external location access error after metastore attachment

Hi everyone,I am running into a permission issue when trying to query data from an external S3 storage location managed through Unity Catalog.Here are the symptoms:The Setup: Storage credentials and an external location were successfully created, and...

  • 325 Views
  • 3 replies
  • 0 kudos
Latest Reply
saurabh18cs
Honored Contributor III
  • 0 kudos

Hi @Khasim_1 Are you doing direct file access or via unity catalog tables/volumes? if you are reading directly then you need to grant READ FILES to the identity used by your pipeline/notebook to this external location.If you are accessing via uc tabl...

  • 0 kudos
2 More Replies
sinclair
by • New Contributor II
  • 5692 Views
  • 8 replies
  • 1 kudos

Py4JJavaError: An error occurred while calling o465.coun

The following error occured when running .count() on a big sparkDF. Py4JJavaError: An error occurred while calling o465.count. : org.apache.spark.SparkException: Job aborted due to stage failure: Task 6 in stage 3.0 failed 4 times, most recent failur...

  • 5692 Views
  • 8 replies
  • 1 kudos
Latest Reply
saurabh18cs
Honored Contributor III
  • 1 kudos

Hi @sinclair Seems you have so many upstream transformations before doing this count operation on running dataframe??for me your nested json is suspicious , you might be trying to retrieve something nullable there causing this issue, can you check ru...

  • 1 kudos
7 More Replies
Visheshd_21
by • New Contributor
  • 135 Views
  • 2 replies
  • 0 kudos

Databricks Free Edition – AWS S3 Storage Credential Validation Fails at Assume Role

Hi Databricks Team,I'm trying to connect an AWS S3 bucket to Databricks Unity Catalog using an IAM role in Databricks Free Edition.EnvironmentDatabricks Edition: Free EditionCloud: AWSWorkspace region: us-east-2Metastore region: us-east-2S3 bucket re...

  • 135 Views
  • 2 replies
  • 0 kudos
Latest Reply
Aravind_Reddy
Databricks Partner
  • 0 kudos

Hi @Visheshd_21 Based on the validation results, the failure is occurring at the initial AssumeRole step. Since Self Assume Role and External ID checks are skipped, Databricks is not successfully assuming the IAM role, so I would troubleshoot the AWS...

  • 0 kudos
1 More Replies
Labels