[
https://issues.apache.org/jira/browse/IMPALA-13812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yida Wu resolved IMPALA-13812.
------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> Fail query for certain errors related to AI functions
> -----------------------------------------------------
>
> Key: IMPALA-13812
> URL: https://issues.apache.org/jira/browse/IMPALA-13812
> Project: IMPALA
> Issue Type: Task
> Reporter: Abhishek Rawat
> Assignee: Yida Wu
> Priority: Critical
> Fix For: Impala 5.0.0
>
>
> The ai_generate_text() and ai_generate_text_default() functions returns error
> message as a result (string) which could be misleading in some cases. Ideally
> we want to handle following scenarios by returning a SQL error/exception and
> failing the query:
> # HTTP error codes returned by the AI endpoint
> # Required configurations such as endpoint, model, credentials, etc are not
> set.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)