Skip to content

Commit dc0860b

Browse files
authored
Merge branch 'main' into feat/validate_added_data_files
2 parents 9081c33 + 9185389 commit dc0860b

5 files changed

Lines changed: 67 additions & 150 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ coverage.xml
3535
.project
3636
.settings
3737
bin/
38+
.vscode/
3839

3940
# Hive/metastore files
4041
metastore_db/

poetry.lock

Lines changed: 57 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyiceberg/table/update/validate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
VALIDATE_ADDED_DATA_FILES_OPERATIONS: Set[Operation] = {Operation.APPEND, Operation.OVERWRITE}
3030

3131

32-
def validation_history(
32+
def _validation_history(
3333
table: Table,
3434
from_snapshot: Snapshot,
3535
to_snapshot: Snapshot,
@@ -143,7 +143,7 @@ def _deleted_data_files(
143143
if parent_snapshot is None:
144144
return
145145

146-
manifests, snapshot_ids = validation_history(
146+
manifests, snapshot_ids = _validation_history(
147147
table,
148148
parent_snapshot,
149149
starting_snapshot,

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ huggingface-hub = { version = ">=0.24.0", optional = true }
8080
psycopg2-binary = { version = ">=2.9.6", optional = true }
8181
sqlalchemy = { version = "^2.0.18", optional = true }
8282
getdaft = { version = ">=0.2.12", optional = true }
83-
cachetools = "^5.5.0"
83+
cachetools = ">=5.5,<7.0"
8484
pyiceberg-core = { version = "^0.4.0", optional = true }
8585
polars = { version = "^1.21.0", optional = true }
8686
thrift-sasl = { version = ">=0.4.3", optional = true }
@@ -109,9 +109,9 @@ mkdocs = "1.6.1"
109109
griffe = "1.7.3"
110110
jinja2 = "3.1.6"
111111
mkdocstrings = "0.29.1"
112-
mkdocstrings-python = "1.16.10"
112+
mkdocstrings-python = "1.16.11"
113113
mkdocs-literate-nav = "0.6.2"
114-
mkdocs-autorefs = "1.4.1"
114+
mkdocs-autorefs = "1.4.2"
115115
mkdocs-gen-files = "0.5.0"
116116
mkdocs-material = "9.6.14"
117117
mkdocs-material-extensions = "1.3.1"

0 commit comments

Comments
 (0)