geruh commented on code in PR #2255: URL: https://github.com/apache/iceberg-python/pull/2255#discussion_r2670352614
########## tests/table/test_delete_file_index.py: ########## @@ -0,0 +1,516 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +import pytest + +from pyiceberg.manifest import DataFileContent, FileFormat +from pyiceberg.partitioning import PartitionField, PartitionSpec +from pyiceberg.schema import Schema +from pyiceberg.table.delete_file_index import ( + DeleteFileIndex, + EqualityDeleteFileWrapper, + EqualityDeletesGroup, + PositionalDeleteFileWrapper, + PositionalDeletesGroup, +) +from pyiceberg.transforms import IdentityTransform +from pyiceberg.typedef import Record +from pyiceberg.types import IntegerType, NestedField, StringType +from tests.conftest import ( + create_data_file, + create_deletion_vector_entry, + create_equality_delete_entry, + create_equality_delete_file, + create_manifest_entry_with_delete_file, + create_partition_positional_delete_entry, + create_positional_delete_entry, +) + + +class TestDeleteFileIndex: + """Tests for the DeleteFileIndex class.""" Review Comment: Yea that's a good point, let me remove this! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
