Skip to content

Commit aa8c6af

Browse files
authored
Remove unused AddFileTask (#2284)
<!-- Thanks for opening a pull request! --> <!-- In the case this PR will resolve an issue, please replace ${GITHUB_ISSUE_ID} below with the actual Github issue id. --> <!-- Closes #${GITHUB_ISSUE_ID} --> # Rationale for this change # Are these changes tested? # Are there any user-facing changes? <!-- In the case of user-facing changes, please add the changelog label. -->
1 parent 7b0c856 commit aa8c6af

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pyiceberg/table/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,14 +2096,6 @@ def generate_data_file_filename(self, extension: str) -> str:
20962096
return f"00000-{self.task_id}-{self.write_uuid}.{extension}"
20972097

20982098

2099-
@dataclass(frozen=True)
2100-
class AddFileTask:
2101-
"""Task with the parameters for adding a Parquet file as a DataFile."""
2102-
2103-
file_path: str
2104-
partition_field_value: Record
2105-
2106-
21072099
def _parquet_files_to_data_files(table_metadata: TableMetadata, file_paths: List[str], io: FileIO) -> Iterable[DataFile]:
21082100
"""Convert a list files into DataFiles.
21092101

0 commit comments

Comments
 (0)