cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Databricks CLI for generating Notebooks not supported or not implemented

renancy
New Contributor III

Hi I'm a Data engineer and recently developed a Notebook analytics template for general purposes that I would like to be the standard on my company. Continuing, I created another notebook with a text widget that uses the user input to map the folder and deposit the template enumerated.
The problem is that, there are no known way of programmatically, using the %sh magic command to clone the Notebook with the correct format. It always export as a txt or .py file with all Notebook original cells as hashtag comments. Is there anyone that faces the same issue and how did you fixed it? I already tried the following commands below and none of them worked correctly:

 

%sh databricks workspace export
%sh databricks workspace export_dir
%sh databricks fs cp ...

 

  

Renancius
0 REPLIES 0

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