Skip to content
Open
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
10 changes: 10 additions & 0 deletions .github/workflows/cpp_extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ jobs:
- image: alpine-linux-cpp
runs-on: ubuntu-latest
title: AMD64 Alpine Linux
- image: ubuntu-cpp
run-options: >-
-e ARROW_CTEST_TIMEOUT=2000
-e ARROW_C_FLAGS_DEBUG="-O1"
-e ARROW_CXX_FLAGS_DEBUG="-O1"
-e ARROW_GANDIVA=OFF
-e ARROW_LARGE_MEMORY_TESTS=ON
-e BUILD_WARNING_LEVEL=PRODUCTION
runs-on: "runs-on=${{ github.run_id }}/family=x8i.2xlarge/volume=80gb/spot=capacity-optimized"
title: AMD64 Ubuntu Large Memory Tests
- image: conda-cpp
run-options: >-
-e ARROW_USE_MESON=ON
Expand Down
12 changes: 8 additions & 4 deletions cpp/src/parquet/column_writer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1053,8 +1053,10 @@ TEST(TestColumnWriter, LARGE_MEMORY_TEST(WriteLargeDictEncodedPage)) {
{
PrimitiveNode::Make("item", Repetition::REQUIRED, Type::INT32),
}));
auto properties =
WriterProperties::Builder().data_pagesize(1024 * 1024 * 1024)->build();
auto properties = WriterProperties::Builder()
.data_pagesize(1024 * 1024 * 1024)
->max_rows_per_page(std::numeric_limits<int64_t>::max())
->build();
auto file_writer = ParquetFileWriter::Open(sink, schema, properties);
auto rg_writer = file_writer->AppendRowGroup();

Expand Down Expand Up @@ -1124,8 +1126,10 @@ TEST(TestColumnWriter, LARGE_MEMORY_TEST(ThrowsOnDictIndicesTooLarge)) {
{
PrimitiveNode::Make("item", Repetition::REQUIRED, Type::INT32),
}));
auto properties =
WriterProperties::Builder().data_pagesize(4 * 1024LL * 1024 * 1024)->build();
auto properties = WriterProperties::Builder()
.data_pagesize(4 * 1024LL * 1024 * 1024)
->max_rows_per_page(std::numeric_limits<int64_t>::max())
->build();
auto file_writer = ParquetFileWriter::Open(sink, schema, properties);
auto rg_writer = file_writer->AppendRowGroup();

Expand Down
Loading