ray.data.Datasink.on_write_failed# Datasink.on_write_failed(error: Exception) → None[源代码]# 写入作业失败时的回调。 这是在写入失败时尽力而为地调用。 参数: error – 遇到的第一个错误。