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

rajeevk
by • New Contributor
  • 1927 Views
  • 1 replies
  • 0 kudos

Is there a %%capture or equivalent possible in databricks notebook

I want to suppress all output of a cell, including text and charts plots, Is it possible to do in Data Bricks. I am able to do the same in other notebook environments, but exactly the same does not work in Databricks. Any insight or even understandab...

  • 1927 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @rajeevk ,The one way is to use cell hiding:Databricks notebook interface and controls | Databricks on AWS

  • 0 kudos
Pawanukey12
by • New Contributor
  • 1845 Views
  • 1 replies
  • 0 kudos

How to get the details of the notebook i.e who is the owner of a notebook ?

I am using azure data bricks. we have a version control system git along with it . How do i get to know if this particular notebook is created or owned by whom ??

  • 1845 Views
  • 1 replies
  • 0 kudos
Latest Reply
szymon_dybczak
Esteemed Contributor III
  • 0 kudos

Hi @Pawanukey12 ,There is no direct API to get the owner of a notebook using the notebook path in Databricks. However, you can manually check the owner of the notebook by the notebook name. You can manually go to the folder where the notebook is loca...

  • 0 kudos
ruoyuqian
by • New Contributor II
  • 2319 Views
  • 1 replies
  • 0 kudos

Resolved! Delta Live Table run outside out pipeline

I have created a notebook for my Delta Live Table pipeline and it runs without errors however if I run the notebook alone in my cluster it,  says not allowed and show this error.  Does it mean I can only run delta live table in the pipeline and canno...

  • 2319 Views
  • 1 replies
  • 0 kudos
Latest Reply
Rishabh-Pandey
Databricks MVP
  • 0 kudos

Hi @ruoyuqian Delta Live Tables (DLT) have specific execution contexts and dependencies that are managed within their pipeline environment. This is why the code runs successfully only when executed within the pipeline, as DLT creates its own job clus...

  • 0 kudos
ShankarM
by • Databricks Partner
  • 2798 Views
  • 2 replies
  • 0 kudos

Intelligent source to target mapping

I want to implement source to target mapping in such a way that source and target columns are auto mapped using intelligent AI mapping resulting in reduction of mapping efforts especially when there are 100+ columns in a table. Metadata information o...

  • 2798 Views
  • 2 replies
  • 0 kudos
Latest Reply
ShankarM
Databricks Partner
  • 0 kudos

Can you please reply to my latest follow up question?

  • 0 kudos
1 More Replies
thiagoawstest
by • Contributor
  • 2222 Views
  • 1 replies
  • 0 kudos

add or change roles

Hello, I have a Databricks environment provisioned by AWS. I would like to know if it is possible to add new roles or change existing roles. In my environment, Admin and User appear. I have the following need: how can I have a group, but the users th...

  • 2222 Views
  • 1 replies
  • 0 kudos
copper-carrot
by • New Contributor II
  • 2523 Views
  • 1 replies
  • 1 kudos

spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metastore.Hive

spark.sql() is suddenly giving an error "Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient" on databricks jobs and python scripts that worked last month.  No local changes on my end.What could be the cause of this and what sh...

  • 2523 Views
  • 1 replies
  • 1 kudos
neointab
by • New Contributor
  • 1313 Views
  • 1 replies
  • 0 kudos

how to restrict group/user cant create unstricted cluster.

we have set up the entitlement,but it doest work, i checked the blogs. it also need the set up in cluster policy. but i dont find how to set up in cluster policy. could you give some suggestions?

  • 1313 Views
  • 1 replies
  • 0 kudos
Latest Reply
antonuzzo96
New Contributor III
  • 0 kudos

Hi, have you checked if users are admins inside the workspace? Because this can greatly change the policies and restrictions on the clusters

  • 0 kudos
hpant1
by • New Contributor III
  • 1566 Views
  • 1 replies
  • 0 kudos

Does it make sense to create volume at external location in dev enviroment?

I have create a dev resource group for databricks which includes "storage account", "access connector" and "databricks workspace". In the storage account I have created a container which is linked to the metastore. This container also contain raw dat...

  • 1566 Views
  • 1 replies
  • 0 kudos
Latest Reply
antonuzzo96
New Contributor III
  • 0 kudos

Hei, for some use cases we have created external volumes in Databricks because they needed to access them outside of Databricks and directly on the storage account, as the files had to interact with other tools.

  • 0 kudos
hpant1
by • New Contributor III
  • 1301 Views
  • 1 replies
  • 2 kudos

What is more optimized way of writing delta table in a workflow, "append" or "overwrite"?

What is more optimized way of writing delta table in a workflow which is running every hour, "append" or "overwrite"?

  • 1301 Views
  • 1 replies
  • 2 kudos
Latest Reply
Witold
Databricks Partner
  • 2 kudos

There's no "optimized way", as these are two different concepts, and depend on your use case: Overwrite  removes existing data, i.e. replaces it with new data, while append adds new data to your existing table.

  • 2 kudos
ahmed_zarar
by • New Contributor III
  • 3755 Views
  • 2 replies
  • 3 kudos

Resolved! Process single data set with different JSON schema rows using Pyspark in databricks

 Hi,i am getting data from event hub and stored in delta table as a row table, i data i received in json , the problem i data i have different schema in each row but i code i use it take first row a json schema i am stuck how to do please any one gui...

ahmed_zarar_0-1722683168135.png
  • 3755 Views
  • 2 replies
  • 3 kudos
Latest Reply
ahmed_zarar
New Contributor III
  • 3 kudos

Thank you , I got it.

  • 3 kudos
1 More Replies
hpant
by • New Contributor III
  • 8347 Views
  • 9 replies
  • 7 kudos

Resolved! Where exactly I should create Volume in a catalog?

Currently my Databricks looks like this: I want to create volume to access external location. Where exactly should I create it? Should a create new schema in "poe" catalog and create a volume inside it or create it in a existing schema? What is the b...

hpant_0-1722505474676.png
  • 8347 Views
  • 9 replies
  • 7 kudos
Latest Reply
hpant1
New Contributor III
  • 7 kudos

No, I don't have.  

  • 7 kudos
8 More Replies
juanicobsider
by • Databricks Partner
  • 2747 Views
  • 2 replies
  • 3 kudos

How to parse VARIANT type column using Pyspark sintax?

I trying to parse VARIANT data type column, what is the correct sintax to parse sub columns using Pyspark, is it possible?.I'd like to know how to do it this way (I know how to do it using SQL syntax).   

juanicobsider_0-1722907722976.png juanicobsider_1-1722907840323.png juanicobsider_2-1722907947212.png
  • 2747 Views
  • 2 replies
  • 3 kudos
Latest Reply
Witold
Databricks Partner
  • 3 kudos

As an addition to what @szymon_dybczak already said correctly. It's actually not a workaround, it's designed and documented that way. Make sure that you understand the difference between `:`, and `.`.Regarding PySpark, the API has other variant relat...

  • 3 kudos
1 More Replies
tramtran
by • Contributor
  • 9419 Views
  • 6 replies
  • 7 kudos

Make the job fail if a task fail

Hi everyone,I have a job with 2 tasks running independently. If one of them fails, the remaining task continues to run. I would like the job to fail if any task fails.Is there any way to do that?Thank you!

  • 9419 Views
  • 6 replies
  • 7 kudos
Latest Reply
Edthehead
Contributor III
  • 7 kudos

Extending to what @mhiltner has suggested, let's  say you have 2 streaming tasks streamA and streamB. Create 2 separate tasks taskA and taskB. Each of these tasks should execute the same notebook which makes an API call to the CANCEL RUN or CANCEL AL...

  • 7 kudos
5 More Replies
DanR
by • New Contributor III
  • 22249 Views
  • 4 replies
  • 3 kudos

PermissionError: [Errno 1] Operation not permitted: '/Volumes/mycatalog'

We are having intermittent errors where a Job Task cannot access a Catalog through a Volume, with the error: `PermissionError: [Errno 1] Operation not permitted: '/Volumes/mycatalog'`.The Job has 40 tasks running in parallel and every few runs we exp...

Data Engineering
Unity Catalog
Volumes
  • 22249 Views
  • 4 replies
  • 3 kudos
Latest Reply
NandiniN
Databricks Employee
  • 3 kudos

It appears to be a concurrency limitation, and there were fixes in the past but there is a possibility it may be a new code flow, adding a retry to the operation can mitigate the issue and work as a workaround. But you can report the issue with Datab...

  • 3 kudos
3 More Replies
delta_bravo
by • New Contributor
  • 11048 Views
  • 2 replies
  • 0 kudos

Cluster termination issue

I am using Databricks as a Community Edition user with a limited cluster (just 1 Driver: 15.3 GB Memory, 2 Cores, 1 DBU). I am trying to run some custom algorithms for continuous calculations and writing results to the delta table every 15 minutes al...

  • 11048 Views
  • 2 replies
  • 0 kudos
Latest Reply
NandiniN
Databricks Employee
  • 0 kudos

If you set the "Terminate after" setting to 0 minutes during the creation of an all-purpose compute, it means that the auto-termination feature will be turned off. This is because the "Terminate after" setting is used to specify an inactivity period ...

  • 0 kudos
1 More Replies
Labels