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)

Reply via email to