Uh oh!
There was an error while loading. Please reload this page.
ARROW-9898: [C++][Gandiva] Fix linking issue with castINT/FLOAT functions - #8096
ARROW-9898: [C++][Gandiva] Fix linking issue with castINT/FLOAT functions#8096projjal wants to merge 4 commits into
Conversation
kiszk
commented
Sep 3, 2020
Would it be possible to add an example to cause SIGSEGV? |
5815a51 to
61b8485Compareb1b3605 to
8af48aeCompare5e8059c to
36dc61dCompareprojjal
commented
Oct 9, 2020
I have added java tests that causes crashes |
There was a problem hiding this comment.
did we make this an external function only for this message? whats the perf penalty for doing this..
There was a problem hiding this comment.
Not really for this message. As you can see from attached commits earlier I removed the std::stiring from error path in castInt, but the castInt function also started failing after this commit 8041ae5 (for the same reason as castFloat); earlier there was no dependency so it worked. Since it is not a header only library, we need to either compile all the dependent cc files, along with the precompiled functions, to llvm bit code; or move this function to a stub function. I think its better to move it to a stub function since the dependencies may change.
praveenbingo
commented
Oct 12, 2020
also looks like this needs a rebase |
…ions Moving the castint/float functions to gdv_function_stubs outside of precompiled module Closes#8096 from projjal/castint and squashes the following commits: 85179a5 <Projjal Chanda> moved castInt to gdv_fn_stubs c09077e <Projjal Chanda> fixed castfloat function ddc429d <Projjal Chanda> added java test case f666f54 <Projjal Chanda> fix error handling in castint Authored-by: Projjal Chanda <iam@pchanda.com> Signed-off-by: Praveen <praveen@dremio.com>
…ions Moving the castint/float functions to gdv_function_stubs outside of precompiled module Closesapache#8096 from projjal/castint and squashes the following commits: 85179a5 <Projjal Chanda> moved castInt to gdv_fn_stubs c09077e <Projjal Chanda> fixed castfloat function ddc429d <Projjal Chanda> added java test case f666f54 <Projjal Chanda> fix error handling in castint Authored-by: Projjal Chanda <iam@pchanda.com> Signed-off-by: Praveen <praveen@dremio.com>
…ions Moving the castint/float functions to gdv_function_stubs outside of precompiled module Closesapache#8096 from projjal/castint and squashes the following commits: 85179a5 <Projjal Chanda> moved castInt to gdv_fn_stubs c09077e <Projjal Chanda> fixed castfloat function ddc429d <Projjal Chanda> added java test case f666f54 <Projjal Chanda> fix error handling in castint Authored-by: Projjal Chanda <iam@pchanda.com> Signed-off-by: Praveen <praveen@dremio.com>
Moving the castint/float functions to gdv_function_stubs outside of precompiled module