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: 

How to export/clone Databricks Notebook without results via web UI?

dataslicer
Contributor

When a Databricks Notebook exceeds size limit, it suggests to `clone/export without results`.  
This is exactly what I want to do, but the current web UI does not provide the ability to bypass/skip the results in either the `clone` or `export` context menus.  Additional note: I do not want to clear the outputs of the current notebook.

Screenshots provided for visual context.  Not sure if there are other places that I may have overlooked.  

Fact finding performed so far:

 

Thank you in advance for any insights you can share on achieving this goal.  

2 REPLIES 2

Yeshwanth
Honored Contributor
Honored Contributor

@dataslicer good day!

When you export a notebook as HTML, IPython notebook (.ipynb), or archive (DBC), and you have not cleared the command outputs, the outputs are included in the export.

Kind regards,

Yesh

dataslicer
Contributor

Thank you @Yeshwanth for the response. 


I am looking for a way without clearing up the current outputs. 
This is necessary because I want to preserve the existing outputs and fork off another notebook instance to run with few parameter changes and come back to compare the output results.  This way the forked notebook attempt is not restricted by the notebook max size limitations.  

Thank you

 

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!