Skip to content

Commit 7bc69f0

Browse files
committed
Add build support for arrow 22
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 078a2d0 commit 7bc69f0

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

conda/dev-environment-unix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
- graphviz
1919
- gtest
2020
- httpx>=0.20,<1
21-
- libarrow<22
21+
- libarrow<23
2222
- libboost>=1.80.0
2323
- libboost-headers>=1.80.0
2424
- librdkafka
@@ -33,7 +33,7 @@ dependencies:
3333
- pillow
3434
- polars
3535
- psutil
36-
- pyarrow>=15,<22
36+
- pyarrow>=15,<23
3737
- pydantic>=2
3838
- pytest
3939
- pytest-asyncio

conda/dev-environment-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
- graphviz
1919
- gtest
2020
- httpx>=0.20,<1
21-
- libarrow<22
21+
- libarrow<23
2222
- libboost>=1.80.0
2323
- libboost-headers>=1.80.0
2424
- librdkafka
@@ -33,7 +33,7 @@ dependencies:
3333
- pillow
3434
- polars
3535
- psutil
36-
- pyarrow>=15,<22
36+
- pyarrow>=15,<23
3737
- pydantic>=2
3838
- pytest
3939
- pytest-asyncio

cpp/csp/adapters/parquet/ParquetFileReaderWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void ParquetFileReaderWrapper::open( const std::string &fileName )
1717

1818
try
1919
{
20-
#if ARROW_VERSION_MAJOR == 20 || ARROW_VERSION_MAJOR == 21
20+
#if ARROW_VERSION_MAJOR >= 20
2121
auto res = ::parquet::arrow::OpenFile(m_inputFile, arrow::default_memory_pool());
2222
STATUS_OK_OR_THROW_RUNTIME(res.status(), "Failed to open parquet file " << fileName );
2323
m_fileReader = res.MoveValueUnsafe();

cpp/csp/adapters/parquet/ParquetFileWriterWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void ParquetFileWriterWrapper::openImpl( const std::string &fileName, const std:
1717

1818
::parquet::WriterProperties::Builder builder;
1919
builder.compression( resolveCompression( compression ));
20-
#if ARROW_VERSION_MAJOR == 20 || ARROW_VERSION_MAJOR == 21
20+
#if ARROW_VERSION_MAJOR >= 20
2121
builder.version(::parquet::ParquetVersion::PARQUET_2_6 );
2222
#else
2323
builder.version(::parquet::ParquetVersion::PARQUET_2_0 );

0 commit comments

Comments
 (0)