Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 07:26 PM
Hi @Mohammed sadamusean
Can you try like below code in pyspark and let me know if you face any issues
variable_name = df.select(col("Column_Name")).collect()[0][0]
if(variable_name>0):
dbutils.notebook.exit('Notebook Failed') Happy Learning!!
Thanks for reading and like if this is useful and for improvements or feedback please comment.