databricks-cli icon indicating copy to clipboard operation
databricks-cli copied to clipboard

use .ipynb extension if output format is JUPYTER

Open richkamulda opened this issue 2 years ago • 0 comments

When requesting JUPYTER output format, each of the language types properly export in .ipynb JSON format, but the file extensions are incorrect. I updated the .to_extension method to take an argument for whether the requested output format is JUPYTER. If so, the method returns .ipynb as the file extension.

Python-test

R-test

Scala-test

SQL-test

richkamulda avatar May 09 '23 22:05 richkamulda