Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/tasks/docker-tests/github.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
test:
name: |
Docker Test {{ flags|default("") }} {{ image }} {{ command|default("") }}
runs-on: ubuntu-latest
runs-on: {{ runs_on|default("ubuntu-latest") }}
{{ macros.github_set_env(env) }}
timeout-minutes: {{ timeout|default(60) }}
steps:
Expand Down
6 changes: 6 additions & 0 deletions dev/tasks/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ tasks:
DEBIAN: "{{ debian_version }}"
flags: "-e ARROW_AZURE=OFF -e ARROW_S3=OFF -e ARROW_GANDIVA=OFF"
image: debian-cpp
# This can be unpinned to use latest once the following issue is solved:
# https://github.com/actions/runner-images/issues/14790
runs_on: ubuntu-24.04
Comment thread
raulcd marked this conversation as resolved.
Resolved
{% endfor %}

test-debian-experimental-cpp-gcc-15:
Expand Down Expand Up @@ -526,6 +529,9 @@ tasks:
DEBIAN: "{{ debian_version }}"
flags: "-e ARROW_S3=OFF -e ARROW_GANDIVA=OFF"
image: debian-python
# This can be unpinned to use latest once the following issue is solved:
# https://github.com/actions/runner-images/issues/14790
runs_on: ubuntu-24.04
Comment thread
raulcd marked this conversation as resolved.
Resolved
{% endfor %}

test-ubuntu-24.04-python-3:
Expand Down
3 changes: 2 additions & 1 deletion python/pyarrow/_parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2086,11 +2086,12 @@ cdef shared_ptr[WriterProperties] _create_writer_properties(
WriterProperties.Builder props
CdcOptions cdc_options
double savings
double default_min_savings = 0.01

savings = min_compression_savings
if not (0.0 <= savings <= 1.0):
raise ValueError("min_compression_savings must be in range [0, 1]")
if savings > 0.01 and data_page_version == "1.0":
if savings > default_min_savings and data_page_version == "1.0":
raise ValueError("min_compression_savings requires V2 data pages")
props.min_compression_savings(savings)

Expand Down
Loading