cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

naveen0142
by New Contributor
  • 33 Views
  • 1 replies
  • 0 kudos

How to Create Azure Key Vault and Assign Key Vault Administrator Role Using Terraform

Hi all,I’m currently working with Terraform to set up Azure resources, including OpenAI services, and I’d like to extend my configuration to create an Azure Key Vault. Specifically, I want to:Create an Azure Key Vault to store secrets/keys.Assign the...

  • 33 Views
  • 1 replies
  • 0 kudos
Latest Reply
parthSundarka
Databricks Employee
  • 0 kudos

Hi @naveen0142 , 1. Create the Key Vault resource "azurerm_key_vault" "example" { name = var.key_vault_name location = azurerm_resource_group.example.location resource_group_name = azurerm_resource_group.example....

  • 0 kudos
alwaysmoredata
by New Contributor II
  • 33 Views
  • 0 replies
  • 0 kudos

COPY INTO from Volume failure (rabbit hole)

hey guys, I am stuck on a loading task, and I simply can't spot what is wrong. The following query fails: COPY INTO `test`.`test_databricks_tokenb3337f88ee667396b15f4e5b2dd5dbb0`.`pipeline_state`FROM '/Volumes/test/test_databricks_tokenb3337f88ee6673...

  • 33 Views
  • 0 replies
  • 0 kudos
ChristianRRL
by Valued Contributor
  • 2879 Views
  • 6 replies
  • 1 kudos

Materialized Views Without DLT?

I'm curious, is DLT *required* to use Materialized Views in Databricks? Is it not possible to create and refresh a Materialized view via a standard Databricks Workflow?

  • 2879 Views
  • 6 replies
  • 1 kudos
Latest Reply
hari-prasad
Valued Contributor II
  • 1 kudos

Hi @ChristianRRL ,When creating a materialized view in Databricks, the data is stored in DBFS, cloud storage, or Unity Catalog volume. You can still create a materialized view by overwriting the same table each time, instead of using Append, Update, ...

  • 1 kudos
5 More Replies
Prashanthkumar
by New Contributor III
  • 6293 Views
  • 9 replies
  • 1 kudos

Is it possible to view Databricks cluster metrics using REST API

I am looking for some help on getting databricks cluster metrics such as memory utilization, CPU utilization, memory swap utilization, free file system using REST API.I am trying it in postman using databricks token and with my Service Principal bear...

Prashanthkumar_0-1705104529507.png
  • 6293 Views
  • 9 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

There is no ETA yet available, as a temporary workaround you can get metrics details via the system tables through the node_timelinehttps://docs.databricks.com/en/admin/system-tables/compute.html#node-timeline-table-schema   

  • 1 kudos
8 More Replies
ChristianRRL
by Valued Contributor
  • 2764 Views
  • 4 replies
  • 1 kudos

Purpose of DLT Table table_properties > quality:medallion

Hi there, silly question here but can anyone help me understand what practical purpose does labelling the table_properties with "quality":"<specific_medallion>"? For example: @Dlt.table( comment="Bronze live streaming table for Test data", name="...

  • 2764 Views
  • 4 replies
  • 1 kudos
Latest Reply
nochimo
New Contributor II
  • 1 kudos

I'm with the same doubt @ChristianRRL, did you figured out something related to it?My doubt is to check if it's possible to apply any kind of access control based on this property.

  • 1 kudos
3 More Replies
Geophph
by New Contributor II
  • 458 Views
  • 6 replies
  • 3 kudos

Resolved! Plotly Express not rendering in Firefox but fine in Safari

Using a basic example of plotly express i see no output in firefox but is fine in Safari. Any ideas why this may occur?  import plotly.express as px import pandas as pd # Create a sample dataframe df = pd.DataFrame({ 'x': range(10), 'y': [2, 3, 5, 7...

  • 458 Views
  • 6 replies
  • 3 kudos
Latest Reply
Geophph
New Contributor II
  • 3 kudos

UPDATE: I reached out further to Databricks support and they have since deployed a fix. Works fine for me now!

  • 3 kudos
5 More Replies
shwetamagar
by New Contributor II
  • 216 Views
  • 1 replies
  • 1 kudos

Resolved! Unity Catalog : RDD Issue

In our existing notebooks, the scripts are reliant on RDDs. However, with the upgrade to Unity Catalog, RDDs will no longer be supported. We need to explore alternative approaches or tools to replace the use of RDDs. Could you suggest the best practi...

  • 216 Views
  • 1 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

To transition from using RDDs (Resilient Distributed Datasets) to alternative approaches supported by Unity Catalog, you can follow these best practices and migration strategies: Use DataFrame API: The DataFrame API is the recommended alternative to...

  • 1 kudos
cheerwthraj
by New Contributor
  • 845 Views
  • 1 replies
  • 0 kudos

Best practices for tableau to connect to Databricks

Having problem in connecting to Databrikcs with service principal from tableau . Wanted to how how tableau extracts refreshing connecting to databricks , is it via individual Oauth or service principal

  • 845 Views
  • 1 replies
  • 0 kudos
Latest Reply
saikumar246
Databricks Employee
  • 0 kudos

Hi @cheerwthraj,  To connect Tableau to Databricks and refresh extracts, you can use either OAuth or service principal authentication. For best practices, please refer to the below link, https://docs.databricks.com/en/partners/bi/tableau.html#best-pr...

  • 0 kudos
AbhishekNegi
by New Contributor
  • 422 Views
  • 1 replies
  • 1 kudos

New Cluster 90% memory already consumed

Hi, seeing this on all new clusters (single or multi-node) I am creating. As soon as the metrics start showing up, the memory consumption shows 90% already consumed between Used and Cached (something like below). This is the case with higher or lower...

AbhishekNegi_0-1725911074420.png AbhishekNegi_1-1725911119189.png
  • 422 Views
  • 1 replies
  • 1 kudos
Latest Reply
saikumar246
Databricks Employee
  • 1 kudos

Hi @AbhishekNegi I understand your concern. The reason for you to see memory consumption before initiating any task and regarding the comment taking time to execute. This is how Spark internally works. The memory consumption observed in a Spark clust...

  • 1 kudos
tt_mmo
by New Contributor II
  • 242 Views
  • 1 replies
  • 0 kudos

SQL table convert to R dataframe

I have a table with ~6 million rows. I am attempting to convert this from a sql table on my catalog to an R dataframe to use the tableone package. I separate my table into 3 tables each containing about 2 million rows then ran it through tbl() and as...

  • 242 Views
  • 1 replies
  • 0 kudos
Latest Reply
BigRoux
Databricks Employee
  • 0 kudos

To handle a large SQL table (~6 million rows) and convert it into an R dataframe without splitting it into smaller subsets, you can use more efficient strategies and tools that are optimized for large datasets. Here are some recommendations: 1. Use `...

  • 0 kudos
shwetamagar
by New Contributor II
  • 182 Views
  • 1 replies
  • 1 kudos

UC migration : Mount Points in Unity Catalog

Hi All,In my existing notebooks we have used mount points url as /mnt/ and we have notebooks where we have used the above url to fetch the data/file from the container. Now as we are upgrading to unity catalog these url will no longer be supporting a...

  • 182 Views
  • 1 replies
  • 1 kudos
Latest Reply
Walter_C
Databricks Employee
  • 1 kudos

Unfortunately no, mount points are no longer supported with UC, so you will need to modify the URL manually on your notebooks.

  • 1 kudos
Sudheer2
by New Contributor III
  • 231 Views
  • 3 replies
  • 0 kudos

Issue with Validation After DBFS to Volume Migration in Databricks Workspace

Hello Databricks Community,I have successfully migrated my DBFS (Databricks File System) from a source workspace to a target workspace, moving it from a path in Browse DBFS -> Folders to a Catalog -> Schema -> Volume.Now, I want to validate the migra...

  • 231 Views
  • 3 replies
  • 0 kudos
Latest Reply
Alberto_Umana
Databricks Employee
  • 0 kudos

Hi @Sudheer2, thanks for your comments, you can try using %sh magic to list the folder and sub-directores using unix-like commands  for example:  

  • 0 kudos
2 More Replies
ludovic_hall
by New Contributor II
  • 296 Views
  • 3 replies
  • 0 kudos

Dashboard sharing in Databriks with Unity Catalog enabled

Hello,I am planning to deploy a workspace with Unity Catalog enabled. Deploying permissions in one place sounds like a good solution. It can even simplify dataset architecture by masking rows and columns.As an architect, I’m concerned about the user’...

  • 296 Views
  • 3 replies
  • 0 kudos
Latest Reply
Walter_C
Databricks Employee
  • 0 kudos

I will suggest for you to submit a feature request for this through https://docs.databricks.com/en/resources/ideas.html#ideas 

  • 0 kudos
2 More Replies
chris0991
by New Contributor III
  • 609 Views
  • 3 replies
  • 0 kudos

Best practices for optimizing Spark jobs

What are some best practices for optimizing Spark jobs in Databricks, especially when dealing large datasets? Any tips or resources would be greatly appreciated! I’m trying to analyze data on restaurant menu prices so that insights would be especiall...

  • 609 Views
  • 3 replies
  • 0 kudos
Latest Reply
mo4
New Contributor II
  • 0 kudos

 Optimizing Spark jobs in Databricks can significantly enhance performance. Here are some strategies to consider:Efficient Partitioning: Proper partitioning reduces shuffle times, leading to faster data processing.Caching: Utilize Delta caching inste...

  • 0 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
Top Kudoed Authors