Skip to content

Commit

Permalink
manually specify quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Jan 29, 2024
1 parent 48e6ac0 commit 4a59b73
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 62 deletions.
112 changes: 56 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name = "arrow_odbc"
crate-type = ["cdylib"]

[dependencies]
arrow-odbc = "7.0.0"
arrow-odbc = "8.0.0"
# arrow would be included indirectly using arrow-odbc, but we need to explicitly specify the ffi
# feature.
arrow = { version = "50.0.0", default-features = false, features = ["ffi"] }
Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 3.0.0

- `read_arrow_batches_from_odbc` now requires the paramteter `driver_returns_memory_garbage_for_indicators` explicitly set to `True` in order to compensate for weaknesses in the IBM/DB2 driver and no longer tries to autodetect this. This change in interface has been made in order to not accidentially apply the workaround to drivers which in actuallity report indices just fine.

## 2.1.6

- `BatchReader.more_results` now shares the same default value for fetch buffer size as `read_arrow_batches_from_odbc`.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = "Markus Klein"

# The full version, including alpha/beta/rc tags
release = "2.1.6"
release = "3.0.0"


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "arrow-odbc"
authors = [{name = "Markus Klein"}]
description="Read the data of an ODBC data source as sequence of Apache Arrow record batches."
readme = "README.md"
version = "2.1.6"
version = "3.0.0"
dependencies = ["cffi", "pyarrow >= 8.0.0"]

[project.license]
Expand Down
Loading

0 comments on commit 4a59b73

Please sign in to comment.