get_filename_for_row#
- FilenameProvider.get_filename_for_row(row: Dict[str, Any], write_uuid: str, task_index: int, block_index: int, row_index: int) str[source]#
Generate a filename for a row.
Deprecated since version Implement:
get_filename_for_task()instead. Row filenames are automatically derived by appending_{block_index:06}_{row_index:06}to the task filename.- Parameters:
- Returns:
The filename to use for the row.
- Return type:
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases. Implement get_filename_for_task() instead. Row filenames are automatically derived by appending _{block_index:06}_{row_index:06} to the task filename. All files from the same task must share the task filename as a prefix so that uncommitted data files can be identified and cleaned up during checkpoint recovery.