How to use dbutils command in pyspark job other than NoteBook
问题 I want to use dbutils command for accessing secrets in my pyspark job submitting through Spark-Submit inside Jobs on Databricks. While using dbutils command it is giving error dbutils not defined. Is there is the way to use dbutils in a pyspark job other than a notebook? Tried the following solutions: 1) import DBUtils, according to this solution. But this is not Databricks dbutils. 2) import pyspark.dbutils import DBUtils , according to this solution. But this also didn't work. pyspark job