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 "Joe McDonnell (Jira)" <ji...@apache.org> on 2024/10/31 20:03:00 UTC
[jira] [Created] (IMPALA-13504) AI functions should be included in FunctionCallExpr::isNondeterministicBuiltinFn
Joe McDonnell created IMPALA-13504:
--------------------------------------
Summary: AI functions should be included in FunctionCallExpr::isNondeterministicBuiltinFn
Key: IMPALA-13504
URL: https://issues.apache.org/jira/browse/IMPALA-13504
Project: IMPALA
Issue Type: Bug
Components: Frontend
Affects Versions: Impala 4.5.0
Reporter: Joe McDonnell
FunctionCallExpr::isNondeterministicBuiltinFn() is used to determine if a function can produce different results for different invocations with the same arguments in a single query. Currently, it applies to rand/random/uuid. It can influence sorting (see IMPALA-4728). It is also controls whether constant folding can be used (if all the arguments are constants). It would be uncommon for an AI function to be used on a constant, but it is theoretically possible.
It seems like ai_generate_text / ai_generate_text_default should be on that list, because it isn't deterministic.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org