Files
arrow/python/pyarrow
tadeja 30ca5a7ef2 GH-49511: Fix rare doctest Table.join_asof and default_memory_pool failures (#50446)
### Rationale for this change
#49511 : `Table.join_asof` outputs a non-deterministic number of chunks, so the printed table sometimes appears as one chunk and sometimes as several (rarely).
`default_memory_pool` prints `bytes_allocated=0` except when a preceding (failing) doctest allocated from the process-global pool (also rarely).

### What changes are included in this PR?
Addition of `.combine_chunks()` to `Table.join_asof` (and removal of two trailing spaces) in `table.pxi`
Change to `bytes_allocated=...` from `bytes_allocated=0` in `memory.pxi`

### Are these changes tested?
Yes, local doctest tests OK.

### Are there any user-facing changes?
No, just docstring changes.
* GitHub Issue: #49511

Authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com>
Signed-off-by: Rok Mihevc <rok@mihevc.org>
2026-07-09 19:58:37 +02:00
..