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

jay-cunningham
by New Contributor
  • 3233 Views
  • 1 replies
  • 0 kudos

Is there a way to prevent databricks-connect from installing a global IPython Spark startup script?

I'm currently using databricks-connect through VS Code on MacOS. However, this seems to install (and re-install upon deletion) an IPython startup script which initializes a SparkSession. This is fine as far as it goes, except that this script is *glo...

  • 3233 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Databricks Connect on MacOS (and some other platforms) adds a file to the global IPython startup folder, which causes every new IPython session—including those outside the Databricks environment—to attempt loading this SparkSession initialization. Th...

  • 0 kudos
ramisinghl01
by New Contributor
  • 4175 Views
  • 1 replies
  • 0 kudos

PYTEST: Module not found error

Hi,Apologies, as I am trying to use Pytest first time. I know this question has been raised but I went through previous answers but the issue still exists.I am following DAtabricks and other articles using pytest. My structure is simple as -tests--co...

  • 4175 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Your issue with ModuleNotFoundError: No module named 'test_tran' when running pytest from a notebook is likely caused by how Python sets the module import paths and the current working directory inside Databricks notebooks (or similar environments). ...

  • 0 kudos
Vanamaajay
by New Contributor
  • 3555 Views
  • 1 replies
  • 0 kudos

CloudFormation Stack Failure: Custom::CreateWorkspace in CREATE_FAILED State

I am trying to create a workspace using AWS CloudFormation, but the stack fails with the following error:"The resource CreateWorkspace is in a CREATE_FAILED state. This Custom::CreateWorkspace resource is in a CREATE_FAILED state. Received response s...

  • 3555 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

When a CloudFormation stack fails with “The resource CreateWorkspace is in a CREATE_FAILED state” for a Custom::CreateWorkspace resource, it typically means the Lambda or service backing the custom resource returned a FAILED signal to CloudFormation ...

  • 0 kudos
akshaym0056
by New Contributor
  • 3267 Views
  • 1 replies
  • 0 kudos

How to Define Constants at Bundle Level in Databricks Asset Bundles for Use in Notebooks?

I'm working with Databricks Asset Bundles and need to define constants at the bundle level based on the target environment. These constants will be used inside Databricks notebooks.For example, I want a constant gold_catalog to take different values ...

  • 3267 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

There is currently no explicit, built-in mechanism in Databricks Asset Bundles (as of 2024) for directly defining global, environment-targeted constants at the bundle level that can be seamlessly accessed inside notebooks without using job or task pa...

  • 0 kudos
Naveenkumar1811
by New Contributor II
  • 161 Views
  • 2 replies
  • 0 kudos

Compilation Failing with Scala SBT build to be used in Databricks

Hi,We have scala jar build with sbt which is used in Databricks jobs to readstream data from kafka...We are enhancing the from_avro function like below... def deserializeAvro(    topic: String,    client: CachedSchemaRegistryClient,    sc: SparkConte...

  • 161 Views
  • 2 replies
  • 0 kudos
Latest Reply
Naveenkumar1811
New Contributor II
  • 0 kudos

Thanks For the Update Louis... As we are planning to Sync All our notebook from Scala to Pyspark , we are in process of converting the code. I think Adding the additional dependency of ABRiS or Adobe’s spark-avro with Schema Registry support will tak...

  • 0 kudos
1 More Replies
Charuvil
by New Contributor III
  • 142 Views
  • 2 replies
  • 1 kudos

How to tag/ cost track Databricks Data Profiling?

We recently started using the Data Profiling/ Lakehouse monitoring feature from Databricks https://learn.microsoft.com/en-us/azure/databricks/data-quality-monitoring/data-profiling/. Data Profiling is using serverless compute for running the profilin...

  • 142 Views
  • 2 replies
  • 1 kudos
Latest Reply
Charuvil
New Contributor III
  • 1 kudos

Hi @szymon_dybczak Thanks for th quick replay.But it seems serverless budget policies cannot be applied to data profiling/ monitoring jobs. https://learn.microsoft.com/en-us/azure/databricks/data-quality-monitoring/data-profiling/Serverless budget po...

  • 1 kudos
1 More Replies
Nisha_Tech
by New Contributor II
  • 113 Views
  • 1 replies
  • 1 kudos

Wheel File name is changed after using Databricks Asset Bundle Deployment on Github Actions

Hi Team,I am deploying to the Databricks workspace using GitHub and DAB. I have noticed that during deployment, the wheel file name is being converted to all lowercase letters (e.g., pyTestReportv2.whl becomes pytestreportv2.whl). This issue does not...

  • 113 Views
  • 1 replies
  • 1 kudos
Latest Reply
Charuvil
New Contributor III
  • 1 kudos

Hi @Nisha_Tech It seems like a Git issue rather than Databricks or DAB. There is a git configuration parameter decides the upper case/ lower case of the file names deploved. Please refer here: https://github.com/desktop/desktop/issues/2672#issuecomme...

  • 1 kudos
Jeremyy
by New Contributor
  • 1243 Views
  • 2 replies
  • 0 kudos

I can't create a compute resource beyond "SQL Warehouse", "Vector Search" and "Apps"?

None of the LLMs even understand why I can't create a compute resource. I was using community (now free edition) until yesterday, when I became apparent that I needed the paid version, so I upgraded. I've even got my AWS account connected, which was ...

  • 1243 Views
  • 2 replies
  • 0 kudos
Latest Reply
nitinjain26
New Contributor II
  • 0 kudos

I have a similar issue and how can I upgrade?

  • 0 kudos
1 More Replies
dataailearner
by New Contributor II
  • 3711 Views
  • 2 replies
  • 0 kudos

Cluster Auto Termination Best Practices

Are there any recommended practices to set cluster auto termination for cost optimization?

  • 3711 Views
  • 2 replies
  • 0 kudos
Latest Reply
mkassa
New Contributor II
  • 0 kudos

Hello!We use a Databricks Job to adjust the cluster’s auto-termination setting based on the day and time. During weekdays from 6 AM to 6 PM, we set auto_termination_minutes to None, which keeps the cluster running. Outside those hours, and on weekend...

  • 0 kudos
1 More Replies
bianca_unifeye
by New Contributor III
  • 162 Views
  • 0 replies
  • 2 kudos

Webinar on Unity Catalog plus giveway

Building Trust in Data: Why Governance Matters More Than EverData has become the heartbeat of every organisation, driving decisions, shaping strategies, and fuelling innovation.Yet, even in data-rich companies, there’s a quiet problem that every lead...

book.png
  • 162 Views
  • 0 replies
  • 2 kudos
Sudheer2
by New Contributor III
  • 513 Views
  • 1 replies
  • 0 kudos

Issue with UCX Assessment Installation via Automation Script - Schema Not Found Error

 Hello,I'm encountering an issue while installing UCX Assessment via an automation script in Databricks. When running the script, I get the following error:13:38:06 WARNING [databricks.labs.ucx.hive_metastore.tables] {listing_tables_0} failed-table-c...

  • 513 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

The error occurs because the automation script explicitly sets WORKSPACE_GROUPS="<ALL>" and DATABASES="<ALL>", which the UCX installer interprets literally as a schema called "ALL"—instead of using the special meaning that the manual prompt does when...

  • 0 kudos
vchandm23
by New Contributor III
  • 2751 Views
  • 1 replies
  • 0 kudos

Usability bug in SPARKSQL

Hi Databricks & Team, Spark Cluster: 16.3Being a databricks partner I am unable to raise a support ticket, hence am positing this here. pyspark is good in rendering multiple results in a single cell. refer screenshot below (Screenshot 1)However, SPAR...

vchandm23_0-1747102508257.png vchandm23_1-1747102657425.png
  • 2751 Views
  • 1 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Databricks notebooks currently support multiple outputs per cell in Python (pyspark) but do not provide the same behavior for SQL cells. When running several SQL statements in a single notebook cell, Databricks will only render the output from the la...

  • 0 kudos
mexcram
by New Contributor II
  • 591 Views
  • 2 replies
  • 0 kudos

Workflow entry point not working on runtime 16.4-LTS

Hello all,I'm developing a python code that it is packaged as a wheel and installed inside a docker image. However, since this program requires numpy >= 2.0 I'm forced to use the runtime 16.4-LTS.When I try to run it as a workflow on databricks I'm e...

Screenshot 2025-06-18 at 07.53.09.png Screenshot 2025-06-18 at 07.54.24.png
  • 591 Views
  • 2 replies
  • 0 kudos
Latest Reply
mark_ott
Databricks Employee
  • 0 kudos

Databricks Runtime 16.4-LTS introduced some changes that affect workflow configuration, environment management, and, notably, support for Python third-party libraries like NumPy. The main issue you’re encountering with NumPy >= 2.0 in Databricks work...

  • 0 kudos
1 More Replies
lance-gliser
by New Contributor
  • 4102 Views
  • 7 replies
  • 0 kudos

Databricks apps - Volumes and Workspace - FileNotFound issues

I have a Databricks App I need to integrate with volumes using local python os functions. I've setup a simple test:  def __init__(self, config: ObjectStoreConfig): self.config = config # Ensure our required paths are created ...

  • 4102 Views
  • 7 replies
  • 0 kudos
Latest Reply
dlembke
New Contributor II
  • 0 kudos

I am also running into this issue. @Alberto_Umana can you advise on what to do here? Seems like a lot of people are having this issue

  • 0 kudos
6 More Replies

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now
Labels