registration-reminder-modal
Learning & Certification
Certifications
Learning Paths
Databricks Product Tours
Get Started Guides
Product Platform Updates
What's New in Databricks
Discussions
Databricks Platform Discussions
Administration & Architecture
Data Engineering
Data Governance
Generative AI
Machine Learning
Warehousing & Analytics
Databricks Free Trial Help
Community Discussions
Certifications
Training offerings
Community Platform Discussions
Get Started Discussions
Summit 2024
Resources
Get Started Resources
Events
Support FAQs
Technical Blog
Knowledge Sharing Hub
Announcements
DatabricksTV
Groups
Regional and Interest Groups
Americas (AMER)
Asia-Pacific & Japan (APJ)
Europe, Middle East, and Africa (EMEA)
Interest Groups
Private Groups
Skills@Scale
Community Cove
Databricks Community Champions
Khoros Community Forums Support (Not for Databricks Product Questions)
Databricks Community Code of Conduct
Register to join the community
Databricks Community
Learning & Certification
Certifications
Learning Paths
Databricks Product Tours
Get Started Guides
Product Platform Updates
What's New in Databricks
Discussions
Databricks Platform Discussions
Administration & Architecture
Data Engineering
Data Governance
Generative AI
Machine Learning
Databricks Platform Discussions
Warehousing & Analytics
Databricks Free Trial Help
Community Discussions
Certifications
Training offerings
Community Platform Discussions
Get Started Discussions
Summit 2024
Resources
Get Started Resources
Events
Support FAQs
Technical Blog
Knowledge Sharing Hub
Announcements
DatabricksTV
Groups
Regional and Interest Groups
Americas (AMER)
Asia-Pacific & Japan (APJ)
Europe, Middle East, and Africa (EMEA)
Interest Groups
Private Groups
Skills@Scale
Community Cove
Databricks Community Champions
Khoros Community Forums Support (Not for Databricks Product Questions)
Databricks Community Code of Conduct
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Help
Login/
Register
AkA
New Contributor II
since
05-04-2023
06-26-2023
0%
Please visit your
Settings Page
to complete your profile.
User Stats
1
Posts
0
Solutions
0
Kudos given
1
Kudos received
Databricks Community
About AkA
Options
User Activity
Posts
Replies
No posts to display.
Re: How to make the job fail via code after handling exception
05-04-2023
Instead of exiting the notebook which make the task/job success, Exception objects needs to be raised again from Exception block to fail the job.try: <you code>except Exception as err: <your block of exception handling> raise err
Kudos from
User
Count
source2sea
1
View all