Linhong Liu created SPARK-60634:
-----------------------------------

             Summary: Give copied UUID expressions independent random generators
                 Key: SPARK-60634
                 URL: https://issues.apache.org/jira/browse/SPARK-60634
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: Linhong Liu


Uuid is marked stateful, but it inherits the leaf-expression copy hook that 
returns the same instance. freshCopyIfContainsStatefulExpression therefore 
shares its mutable random generator between evaluators. Advancing or 
reinitializing one evaluator changes the sequence observed by another. The leaf 
copy hook should construct a new Uuid with the same seed. Regression coverage 
should verify distinct expressions, independent sequences, and isolated 
partition reinitialization.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to