You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Abhishek Rawat (Jira)" <ji...@apache.org> on 2025/02/27 23:21:00 UTC

[jira] [Created] (IMPALA-13812) Fail query for certain errors related to AI functions

Abhishek Rawat created IMPALA-13812:
---------------------------------------

             Summary: 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


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)