kou opened a new issue, #218:
URL: https://github.com/apache/arrow-flight-sql-postgresql/issues/218
The "Test" workflow has been failing on `main` for all jobs (macOS/Ubuntu ×
PostgreSQL 15/16/17) since 2026-03-09. The last successful run was on
2026-03-03. All jobs fail in the "Run" step.
The logs on GitHub Actions have already expired, but I could reproduce the
failure on Ubuntu 24.04 with PostgreSQL 17 and Apache Arrow C++ 26.0.1. `meson
compile` fails on `src/afs.cc`. There are two causes:
1. Apache Arrow C++ headers require C++20 but we use `cpp_std=c++17` in
`meson.build`:
```text
/usr/include/arrow/buffer.h:286:8: error: ‘span’ in namespace ‘std’ does
not name a template type
/usr/include/arrow/util/bit_util.h:151:15: error: ‘bit_width’ is not a
member of ‘std’
/usr/include/arrow/util/bit_block_counter.h:134:30: error: ‘popcount’ is
not a member of ‘std’; did you mean ‘count’?
/usr/include/arrow/util/iterator.h:523:3: error: ‘requires’ does not name
a type
```
2. `arrow::util::base64_decode()` returns `arrow::Result<std::string>`
instead of `std::string`:
```text
../src/afs.cc:4004:94: error: no matching function for call to
‘std::__cxx11::basic_stringstream<char>::basic_stringstream(arrow::Result<std::__cxx11::basic_string<char>
>)’
4004 |
arrow::util::base64_decode(value.substr(valueStream.tellg())));
```
We need to:
* Use C++20
* Handle both return types of `arrow::util::base64_decode()`, or bump the
minimum required Apache Arrow C++ version (currently 13.0.0)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]