ray.data.datasource.FilenameProvider.get_filename_for_task#
- FilenameProvider.get_filename_for_task(write_uuid: str, task_index: int) str[source]#
Generate a filename for a write task.
Override this method to customize filenames when writing a Dataset.
Note
Filenames must be unique and deterministic for a given write UUID and task index.
- Parameters:
write_uuid – The UUID of the write operation.
task_index – The index of the write task.
- Returns:
The generated filename string.