This is an automated email from the ASF dual-hosted git repository.
dweeks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new eb0a53579c Python: Remove files file (#8411)
eb0a53579c is described below
commit eb0a53579c86a520491ef07ae5701f485ac29ae9
Author: Fokko Driesprong <[email protected]>
AuthorDate: Mon Aug 28 23:27:00 2023 +0200
Python: Remove files file (#8411)
This is already in `manifest.py`:
```python
class ManifestContent(int, Enum):
DATA = 0
DELETES = 1
def __repr__(self) -> str:
"""Returns the string representation of the ManifestContent
class."""
return f"ManifestContent.{self.name}"
class ManifestEntryStatus(int, Enum):
EXISTING = 0
ADDED = 1
DELETED = 2
def __repr__(self) -> str:
"""Returns the string representation of the ManifestEntryStatus
class."""
return f"ManifestEntryStatus.{self.name}"
class FileFormat(str, Enum):
AVRO = "AVRO"
PARQUET = "PARQUET"
ORC = "ORC"
def __repr__(self) -> str:
"""Returns the string representation of the FileFormat class."""
return f"FileFormat.{self.name}"
```
---
python/pyiceberg/files.py | 34 ----------------------------------
1 file changed, 34 deletions(-)
diff --git a/python/pyiceberg/files.py b/python/pyiceberg/files.py
deleted file mode 100644
index 2f8dedf0f0..0000000000
--- a/python/pyiceberg/files.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# 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.
-from enum import Enum, auto
-
-
-class FileContentType(Enum):
- """An enum that includes all possible content types for an Iceberg data
file."""
-
- DATA = auto()
- POSITION_DELETES = auto()
- EQUALITY_DELETES = auto()
-
-
-class FileFormat(Enum):
- """An enum that includes all possible formats for an Iceberg data file."""
-
- ORC = "ORC"
- PARQUET = "PARQUET"
- AVRO = "AVRO"
- METADATA = "METADATA"