GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/20912
[SPARK-23794][SQL] Make UUID as stateful expression
## What changes were proposed in this pull request?
The UUID() expression is stateful and should implement the `Stateful` trait
instead of the `Nondeterministic` trait.
## How was this patch tested?
Added test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-23794
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20912.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20912
----
commit c9e70edfd4d65356997aefeef2d7cff6df939371
Author: Liang-Chi Hsieh <viirya@...>
Date: 2018-03-27T09:15:07Z
Make UUID as stateful expression.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]