Dec 01, 2025: Error handling for Cortex AI Functions¶
Snowflake Cortex AI Functions now support improved error handling for batch operations. This enhancement allows AI_COMPLETE, AI_CLASSIFY, and AI_FILTER functions to continue processing rows even when encountering non-fatal errors, rather than terminating the entire query.
By default, these AI functions stop running when an error occurs on a specific row, which can disrupt large batch operations. With the new error handling capability, you can configure your session to allow processing to continue. This feature improves reliability and efficiency for large-scale AI operations where occasional errors won’t interrupt the batch process.
For more information, see the following: