[
https://issues.apache.org/jira/browse/IMPALA-13792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931816#comment-17931816
]
ASF subversion and git services commented on IMPALA-13792:
----------------------------------------------------------
Commit 7e8c79df53af44d2363c3cb938c4a43d5bb23a84 in impala's branch
refs/heads/master from Abhishek Rawat
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7e8c79df5 ]
IMPALA-13792: Cross compile AI functions
ai_generate_text() and ai_generate_text_default() are not
cross-compiled and so these could lead to undefined symbols when
codegen is enabled. This patch cross-compiles these functions.
Testing:
- Added e2e tests for ai_generate_text and ai_generate_text_default
functions and these are run with codegen enabled/disabled.
Change-Id: I454657d9f1345a36b269e6b837aaecf55a09add0
Reviewed-on: http://gerrit.cloudera.org:8080/22552
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Ai_generate_text_default symbol not found in codegen cases
> ----------------------------------------------------------
>
> Key: IMPALA-13792
> URL: https://issues.apache.org/jira/browse/IMPALA-13792
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 4.4.0
> Reporter: Yida Wu
> Assignee: Abhishek Rawat
> Priority: Major
>
> When calling ai_generate_text_default on a regular table, it may fail with a
> 'symbol not found' error. Disabling codegen could be a workaround, but the
> root cause of the missing symbol needs investigation. Same issue happens to
> the ai_generate_text interface.
> {code:java}
> Create a simple table 'test' with column 'string_variable':
> create table test (string_variable string);
> insert into test values ('a');
> insert into test values ('b');
> Do the query:
> >select *, ai_generate_text_default(string_variable) from test;
> Query: select *, ai_generate_text_default(string_variable) from test
> ..
> 2025-02-24 12:41:59 [Exception] ERROR: Query ... failed:
> Builtin 'ai_generate_text_default' with symbol
> '_ZN6impala11AiFunctions21AiGenerateTextDefaultEPN10impala_udf15FunctionContextERKNS1_9StringValE'
> does not exist. Verify that all your impalads are the same version.
> Fragment failed during codegen, fragment index: F01
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]