- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 04:57 AM
I have Databricks notebook which have some SQL code. I want to export it to Ipython notebook. Export should be automated and I am using below command
%sh
databricks workspace export --overwrite --format JUPYTER "/Users/USERNAME/SQL_Automate" /Users/USERNAME/Downloads
however it is giving me an error.
- Labels:
-
Databricks notebook
-
ExportError
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 05:36 AM
Hi @Abhishek Jain ,
the error says that you need to configure databricks cli, by executing: databricks configure
https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication
Running the command with configure option will create .databrickscfg file in your home directory.
you can also export env variables:
- DATABRICKS_HOST
- DATABRICKS_USERNAME
- DATABRICKS_PASSWORD
- DATABRICKS_TOKEN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2022 05:36 AM
Hi @Abhishek Jain ,
the error says that you need to configure databricks cli, by executing: databricks configure
https://docs.databricks.com/dev-tools/cli/index.html#set-up-authentication
Running the command with configure option will create .databrickscfg file in your home directory.
you can also export env variables:
- DATABRICKS_HOST
- DATABRICKS_USERNAME
- DATABRICKS_PASSWORD
- DATABRICKS_TOKEN

