You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should not segfault, even if given an invalid plan. Are you possibly calling ValueOrDie in R when running a plan? If not, this bears investigation on its own.
If I specify the output type in the binding, I get a segfault:
It is not obvious, but the only valid kernels for round are:
Thanks for that @westonpace - I have now updated my function binding to cast (in R) the s to an integer, and now it's working as expected. I'm still getting segfaults when using the previous version - will have another look to check what's going on here.
Describe the bug, including details regarding any error messages, version, and platform.
I'm writing bindings for the R Substrait producer, and when I try to run a plan which uses the Substrait
round()
function, I get errors and segfaults.If I specify the output type in the binding, I get a segfault:
Here's the GDB output when I run
compiler2 %>% collect()
(i.e. which actually runs the plan)If I remove the line which specifies the output type, I instead get the error:
Component(s)
C++
The text was updated successfully, but these errors were encountered: