Skip to content

[SPARK-11754][SQL] consolidate ExpressionEncoder.tuple and Encoders.tuple#9729

Closed
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:tuple
Closed

[SPARK-11754][SQL] consolidate ExpressionEncoder.tuple and Encoders.tuple#9729
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:tuple

Conversation

@cloud-fan

Copy link
Copy Markdown
Contributor

These 2 are very similar, we can consolidate them into one.

Also add tests for it and fix a bug.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is not right. ExpressionEncoder.shift update ordinal of BoundReference with a delta, but here the i is the ordinal we wanna update, not a delta.

@cloud-fan

Copy link
Copy Markdown
Contributor Author

cc @marmbrus

@SparkQA

SparkQA commented Nov 16, 2015

Copy link
Copy Markdown

Test build #45988 has finished for PR 9729 at commit ae3d592.

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

@marmbrus

Copy link
Copy Markdown
Contributor

Thanks, merging to master and 1.6

asfgit pushed a commit that referenced this pull request Nov 16, 2015
…s.tuple`

These 2 are very similar, we can consolidate them into one.

Also add tests for it and fix a bug.

Author: Wenchen Fan <wenchen@databricks.com>

Closes #9729 from cloud-fan/tuple.

(cherry picked from commit b1a9662)
Signed-off-by: Michael Armbrust <michael@databricks.com>
@asfgit asfgit closed this in b1a9662 Nov 16, 2015
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