Build: Bump datafusion from 44.0.0 to 45.2.0 (#1714)

Bumps [datafusion](https://github.com/apache/datafusion-python) from
44.0.0 to 45.2.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/apache/datafusion-python/commit/639e2abc9ce1e7753f9779c7496da799a32c54a5"><code>639e2ab</code></a>
Update cargo lock</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/8b30f2e7891fae4b825331c0af66d8cd10f09283"><code>8b30f2e</code></a>
Bump minor version due to pypi requirement</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/3e8d8043c8bf70805f3ea3633129dc0c1b975d5b"><code>3e8d804</code></a>
Correct import for python 3.13 and above</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/78e4d9140826b8bbd86912f7a26835da4d8ec0e0"><code>78e4d91</code></a>
Revert &quot;Limit pyarrow version per issue # 1023&quot;</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/03d83c2e62ba5253d156b9886bcf46276c729c53"><code>03d83c2</code></a>
There was no guarantee that the record batches would be returned in a
single ...</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/f0cb5e1b11b30b914d4ccc47a3a8bb10e8d0d995"><code>f0cb5e1</code></a>
Bumping the version number to support new release candidate</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/b48d5872661017ec21ea71f7dbb9569f2f0bf797"><code>b48d587</code></a>
Limit pyarrow version per issue # 1023</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/b3f498f233771625bcc7793c526958b5f592698a"><code>b3f498f</code></a>
Add deprecated marker from either typing or typing_extensions based on
the py...</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/8082ac61124a2eb0800f9df48e709503a5194b3e"><code>8082ac6</code></a>
Add changelog 45.0.0</li>
<li><a
href="https://github.com/apache/datafusion-python/commit/e0531f3fea8268ff0606397daabcd52b406c5845"><code>e0531f3</code></a>
Bump version number to prepare for release</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/datafusion-python/compare/44.0.0...45.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=datafusion&package-manager=pip&previous-version=44.0.0&new-version=45.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
diff --git a/poetry.lock b/poetry.lock
index 451f427..2df9a04 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1047,17 +1047,17 @@
 
 [[package]]
 name = "datafusion"
-version = "44.0.0"
+version = "45.2.0"
 description = "Build and run queries against data"
 optional = false
 python-versions = ">=3.8"
 files = [
-    {file = "datafusion-44.0.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:4786f0a09c6b422ac18c6ea095650c14454be5af3df880b5c169688f610ab41a"},
-    {file = "datafusion-44.0.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:bbad11b33c424a658edbc52db39dfe4ddc30339ffac7c43cdc1aa128c260ae76"},
-    {file = "datafusion-44.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4ca3b47fd34e1c96cf6d40a877245afd36f3ccf8b39dda1e5b6f811f273af781"},
-    {file = "datafusion-44.0.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:22d2e3ecf5d0b1b75c8ad48c8d9af14a0ac4de1633e86d3b397614f68aa8123c"},
-    {file = "datafusion-44.0.0-cp38-abi3-win_amd64.whl", hash = "sha256:b36774dca54a0e1c88c8080b8c72cc2df5e95f4340a0cdbdd18a0473401551c5"},
-    {file = "datafusion-44.0.0.tar.gz", hash = "sha256:5fc3740406ff531527aa8baa5954fe0bf1f02ea72170e172746b38cffc0d8d50"},
+    {file = "datafusion-45.2.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:1d0e601167be4f3275af6de1287ae7ec96acfcc4a6e60f1b5fc1e517bc1f5162"},
+    {file = "datafusion-45.2.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:e70d5697b32326a99ab291afe93c268362ccb644eb71639ae48fe1ebeb0cb7b3"},
+    {file = "datafusion-45.2.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb104bb0742c0310aa6f7e17b83a0cd4018734e70e68b18b32926565df4a4dab"},
+    {file = "datafusion-45.2.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:49572a5e9a38beb1bd6640be976f87adaed8ef694fed1618cee62c4d915eca35"},
+    {file = "datafusion-45.2.0-cp38-abi3-win_amd64.whl", hash = "sha256:fe0a96fd32c8c63d29c6f227e687d5acecc2ca081c579d78f0eebaac0ab4a716"},
+    {file = "datafusion-45.2.0.tar.gz", hash = "sha256:85bd37814299b989907c956f6e716e9a487b20f5e6b7a83b19f16f336bbaf387"},
 ]
 
 [package.dependencies]
@@ -5533,4 +5533,4 @@
 [metadata]
 lock-version = "2.0"
 python-versions = "^3.9.2, !=3.9.7"
-content-hash = "fd70e0dda983943ded487ceac2768279f516cc7f5bcca03d0f602fa73f180fe2"
+content-hash = "17a13aaf7f6cb57a621fe4de51c78ce680d1aee6de1367179dc80e19acfaaeb8"
diff --git a/pyproject.toml b/pyproject.toml
index 7fc4dbe..da0aaa1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -97,7 +97,7 @@
 pyspark = "3.5.3"
 cython = "3.0.12"
 deptry = ">=0.14,<0.24"
-datafusion = "^44.0.0"
+datafusion = ">=44,<46"
 docutils = "!=0.21.post1"   # https://github.com/python-poetry/poetry/issues/9248#issuecomment-2026240520
 
 [tool.poetry.group.docs.dependencies]