Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Aborts this writing job due to task failures.
This method is invoked on the driver when one or more tasks failed. The commit messages are collected from the write() method call from each task and passed to this method. The implementation should use the commit messages to abort the writing job to the data source.
Added in Databricks Runtime 14.3 LTS
Syntax
abort(messages: List[Optional[WriterCommitMessage]])
Parameters
| Parameter | Type | Description |
|---|---|---|
messages |
list of WriterCommitMessage | A list of commit messages. If a write task fails, the commit message will be None. |