Skip to content

Conversation

@cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

This PR decouples deserializer expression resolution from ObjectOperator, so that we can use deserializer expression in normal operators. This is needed by #12061 and #12067 , I abstracted the logic out and put them in this PR to reduce code change in the future.

How was this patch tested?

existing tests.

@cloud-fan
Copy link
Contributor Author

cc @marmbrus @yhuai @liancheng

/**
* Replace the [[UpCast]] expression by [[Cast]], and throw exceptions if the cast may truncate.
*/
object ResolveUpCast extends Rule[LogicalPlan] {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Move rules related to deserializer expressions together.

@SparkQA
Copy link

SparkQA commented Apr 2, 2016

Test build #54775 has finished for PR 12131 at commit ce9703d.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 2, 2016

Test build #54776 has finished for PR 12131 at commit e6d1a51.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 3, 2016

Test build #54804 has finished for PR 12131 at commit d8fe06a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Apr 5, 2016

Test build #54927 has finished for PR 12131 at commit 4b1a764.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@marmbrus
Copy link
Contributor

marmbrus commented Apr 5, 2016

LGTM, thanks for improving the comments. Its much clearer to me what is happing now!]

Merging to master.

@asfgit asfgit closed this in f77f11c Apr 5, 2016
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