-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-15381][SQL] physical object operator should define reference correctly #13167
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
Conversation
| * The output of this operator is a single-field safe row containing the deserialized object. | ||
| */ | ||
| case class DeserializeToObject( | ||
| case class DeserializeToObjectExec( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not related, but to make the name consistent with other physical plans.
|
Test build #58770 has finished for PR 13167 at commit
|
|
retest this please |
|
Test build #58773 has finished for PR 13167 at commit
|
| case class SerializeFromObjectExec( | ||
| serializer: Seq[NamedExpression], | ||
| child: SparkPlan) extends UnaryExecNode with CodegenSupport { | ||
| child: SparkPlan) extends UnaryExecNode with ObjectConsumerExec with CodegenSupport { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor: ObjectConsumerExec already extend UnaryExecNode
|
LGTM |
|
Test build #58836 has finished for PR 13167 at commit
|
|
Merging this into master and 2.0, thanks! |
…correctly ## What changes were proposed in this pull request? Whole Stage Codegen depends on `SparkPlan.reference` to do some optimization. For physical object operators, they should be consistent with their logical version and set the `reference` correctly. ## How was this patch tested? new test in DatasetSuite Author: Wenchen Fan <[email protected]> Closes #13167 from cloud-fan/bug. (cherry picked from commit 661c210) Signed-off-by: Davies Liu <[email protected]>
What changes were proposed in this pull request?
Whole Stage Codegen depends on
SparkPlan.referenceto do some optimization. For physical object operators, they should be consistent with their logical version and set thereferencecorrectly.How was this patch tested?
new test in DatasetSuite