Skip to content

Commit

Permalink
updated poetry manifest list for datafusion package dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmartin14 committed Jan 17, 2025
1 parent fa5ab35 commit cfa2277
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyiceberg/table/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,8 +1109,6 @@ def merge_rows(self, df: pa.Table, join_cols: list

ctx = SessionContext()



#register both source and target tables so we can find the deltas to update/append
ctx.register_dataset(source_table_name, ds.dataset(df))
ctx.register_dataset(target_table_name, ds.dataset(self.scan().to_arrow()))
Expand Down
34 changes: 34 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ tenacity = ">=8.2.3,<10.0.0"
pyarrow = { version = ">=14.0.0,<19.0.0", optional = true }
pandas = { version = ">=1.0.0,<3.0.0", optional = true }
duckdb = { version = ">=0.5.0,<2.0.0", optional = true }
datafusion = { version = "43.1.0", optional = true }
ray = [
{ version = "==2.10.0", python = "<3.9", optional = true },
{ version = ">=2.10.0,<3.0.0", python = ">=3.9", optional = true },
Expand Down Expand Up @@ -226,6 +227,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -378,6 +383,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -530,6 +539,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -682,6 +695,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -834,6 +851,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -986,6 +1007,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -1138,6 +1163,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down Expand Up @@ -1193,6 +1222,7 @@ script = "build-module.py"
pyarrow = ["pyarrow"]
pandas = ["pandas", "pyarrow"]
duckdb = ["duckdb", "pyarrow"]
datafusion = ["datafusion", "pyarrow"]
ray = ["ray", "pyarrow", "pandas"]
daft = ["getdaft"]
snappy = ["python-snappy"]
Expand Down Expand Up @@ -1361,6 +1391,10 @@ ignore_missing_imports = true
module = "duckdb.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "datafusion.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "ray.*"
ignore_missing_imports = true
Expand Down

0 comments on commit cfa2277

Please sign in to comment.