Skip to content

Commit 6e059f9

Browse files
committed
FIX: Fix DBNStore reader to read across zstd frame
1 parent e3673c0 commit 6e059f9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Changelog
22

3-
## 0.57.0 - TBD
3+
## 0.56.1 - TBD
44

55
#### Deprecations
6-
- Deprecated `int` and `pd.Timestamp` types for `start_date` and `end_date` parameters which will be removed in v0.59.0
6+
- Deprecated `int` and `pd.Timestamp` types for `start_date` and `end_date` parameters which will be removed in a future release
7+
8+
#### Bug fixes
9+
- Fixed an issue where the zstandard frame size could limit the size of `DataFrame` objects returned by `DBNStore.to_df()` when a `count` was specified
710

811
## 0.56.0 - 2025-06-03
912

databento/common/dbnstore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ def reader(self) -> IO[bytes]:
535535
if self.compression == Compression.ZSTD:
536536
return zstandard.ZstdDecompressor().stream_reader(
537537
self._data_source.reader,
538+
read_across_frames=True,
538539
)
539540
return self._data_source.reader
540541

0 commit comments

Comments
 (0)