tikkss opened a new issue, #46299:
URL: https://github.com/apache/arrow/issues/46299
### Describe the bug, including details regarding any error messages,
version, and platform.
Steps to reproduce:
Run the following program on Ubuntu (reproduced on Ubuntu 24.04 using the
official packages):
```c++
// g++ -g3 -O0 a.cc $(pkgconf --cflags --libs arrow) && ./a.out
#include <stdio.h>
#include <arrow/compute/api.h>
int
main(void)
{
auto func =
*(arrow::compute::GetFunctionRegistry()->GetFunction("rank"));
printf("%p\n", func->default_options()->options_type());
return 0;
}
```
Expected result:
A valid pointer to a FunctionOptions object, specifically
arrow::compute::RankOptions.
Actual result:
Returns `nullptr`.
Environments:
* Arrow version: 20.0.0
* OS: Ubuntu 24.04 (Debian noble)
* This does not reproduce on other platforms.
### Component(s)
C++
--
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]