dbutils.notebook.exit
The dbutils.notebook.exit allows to exit a notebook with a value.
This transformation was deprecated, now we manage this element with the sfutils file.
Description
You can use dbutils.notebook.exit
to terminate the execution on the current notebook and optionally return a value to the calling notebook notebooks.
Sample
df = spark.createDataFrame([[1.0, 2.1], [3.3, 4.5]])
df.show()
dbutils.notebook.exit("Exiting from My second Notebook")
Snowflake
This DBX element does not have a direct equivalent and it is not required in Snowflake, the SMA tool transforms this element by removing it from the cells.
df = spark.createDataFrame([[1.0, 2.1], [3.3, 4.5]])
df.show()
Related EWIs
This element does not have an associated EWI.
Last updated