pvary commented on PR #16777:
URL: https://github.com/apache/iceberg/pull/16777#issuecomment-6603036402

   > To avoid this ambiguity, I suggest explicitly specifying that 
non-deterministic functions in write-default expressions must be evaluated at 
most once per write operation, consistent with SQL statement-level semantics. 
Alternatively, if per-record evaluation is intended, the specification should 
state this explicitly to ensure consistent behavior across engines.
   
   I'm not sure Flink could easily create a consistent value for every writer 
for every checkpoint cycle.
   Also, I'm not sure someone would generate a value for every row.
   The generation pattern is very different for different UDFs, engines, 
use-cases. I would prefer not to define the exact behaviour and restrict the 
use-cases.


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