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: 

Accessing Job parameters using cluster v15.4

data_mifflin
New Contributor III

After upgrading databricks cluster to version 15.4, is there any way to access job parameters in notebook except the following way ?
dbutils.widgets.get("parameter_name")

In v15.4, dbutils.notebook.entry_point.getCurrentBindings() has been discontinued.

 

6 REPLIES 6

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @data_mifflin - Unfortunately I could not find any other way than: dbutils.widgets.get("parameter_name") but let me check internally.

Thanks Alberto, for looking into it !

@Alberto_Umana , did you check internally ?

data_mifflin
New Contributor III

@Alberto_Umana , did you find anything ?

Pawan1979
New Contributor II

For me it is working at 15.4 LTS (includes Apache Spark 3.5.0, Scala 2.12)

@Pawan1979 , are you using Scala or pyspark ?
I am using pyspark, and it is not working.

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