huaxingao opened a new pull request, #18390:
URL: https://github.com/apache/iceberg/pull/18390

   A function reference in the expressions spec names a function but cannot 
name a version of its definition. A UDF definition can get a new version 
without any change to an expression that calls it.
   
   This matters for v4 check constraints (#17822): a check expression that 
calls a UDF cannot say which definition version it was validated against, and 
`deterministic` belongs to each definition version, so a later version can set 
it to false after the constraint exists.
   
   This adds optional `definition-id` and `version-id` fields to the object 
form of a function reference. When present, the named version must be used; 
otherwise the definition's current version is used. Evaluation fails if the 
named version is not present in the function's metadata.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to