Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-23794][SQL] Make UUID as stateful expression #20912

Closed
wants to merge 1 commit into from

Conversation

viirya
Copy link
Member

@viirya viirya commented Mar 27, 2018

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.

@viirya
Copy link
Member Author

viirya commented Mar 27, 2018

cc @hvanhovell

Copy link
Contributor

@hvanhovell hvanhovell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - pending jenkins

@SparkQA
Copy link

SparkQA commented Mar 27, 2018

Test build #88625 has finished for PR 20912 at commit c9e70ed.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • case class Uuid(randomSeed: Option[Long] = None) extends LeafExpression with Stateful

@hvanhovell
Copy link
Contributor

Merging to master. Thanks for the quick turnaround!

@hvanhovell
Copy link
Contributor

@viirya
Copy link
Member Author

viirya commented Mar 27, 2018

Seems it didn't show up in github's commit?

@hvanhovell
Copy link
Contributor

The workflow is that we merge to apache git, and that the commit get pushed to github via some synchronization. Apparently the latter is broken.

@asfgit asfgit closed this in 35997b5 Mar 27, 2018
@hvanhovell
Copy link
Contributor

wow that only took 8 hours....

mshtelma pushed a commit to mshtelma/spark that referenced this pull request Apr 5, 2018
## 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.

Author: Liang-Chi Hsieh <[email protected]>

Closes apache#20912 from viirya/SPARK-23794.
@viirya viirya deleted the SPARK-23794 branch December 27, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants