You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Daniel Becker (Jira)" <ji...@apache.org> on 2020/08/07 11:34:00 UTC
[jira] [Commented] (IMPALA-7658) Proper codegen for HiveUdfCall
[ https://issues.apache.org/jira/browse/IMPALA-7658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173090#comment-17173090 ]
Daniel Becker commented on IMPALA-7658:
---------------------------------------
I started implementing it but run into a problem. It seems LLVM jitting and thread local storage don't work well together and be/src/util/jni-util.h uses a thread local JNIEnv instance. Do you have any ideas?
LLVM thread local problem:
[http://clang-developers.42468.n3.nabble.com/lli-LLVM-ERROR-Cannot-select-X86ISD-WrapperRIP-TargetGlobalTLSAddress-i64-td4055237.html]
> Proper codegen for HiveUdfCall
> ------------------------------
>
> Key: IMPALA-7658
> URL: https://issues.apache.org/jira/browse/IMPALA-7658
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Reporter: Tim Armstrong
> Assignee: Daniel Becker
> Priority: Major
> Labels: codegen, performance
>
> This function uses GetCodegendComputeFnWrapper() to call the interpreted path but instead we could codegen the Evaluate() function to reduce the overhead. I think this is likely to be a little involved since there's a loop to unroll, so the solution might end up looking like IMPALA-5168
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org