kazdy commented on PR #7640:
URL: https://github.com/apache/hudi/pull/7640#issuecomment-1385496680

   Thanks for the explanation, so it seems like key generator must be 
deterministic and there's no way around it.
   
   What I do with hudi datasets where I need a surrogate key is that I just 
generate a column with UUID using [built-in spark uuid() 
function](https://spark.apache.org/docs/3.3.1/api/sql/#uuid).  I think it's a 
valid way to do it :)
   I guess using engine-specific uuid() function in keygen would not change 
anything.


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to