Skip to content

Conversation

@lianhuiwang
Copy link
Contributor

What changes were proposed in this pull request?

in HiveTableScanExec, schema is lazy and is related with relation.attributeMap. So it needs to serialize MetastoreRelation when serializing task binary bytes.It can avoid to serialize MetastoreRelation.

How was this patch tested?

@SparkQA
Copy link

SparkQA commented May 30, 2016

Test build #59610 has finished for PR 13397 at commit 1ab2d43.

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

}
}
val numOutputRows = longMetric("numOutputRows")
val outputSchema = schema
Copy link
Contributor

Choose a reason for hiding this comment

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

add some inline comment explaining this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I have add some comments.

@SparkQA
Copy link

SparkQA commented May 31, 2016

Test build #59642 has finished for PR 13397 at commit 933b421.

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

@rxin
Copy link
Contributor

rxin commented May 31, 2016

Merging in master/2.0. Thanks.

asfgit pushed a commit that referenced this pull request May 31, 2016
…canExec

## What changes were proposed in this pull request?
in HiveTableScanExec, schema is lazy and is related with relation.attributeMap. So it needs to serialize MetastoreRelation when serializing task binary bytes.It can avoid to serialize MetastoreRelation.

## How was this patch tested?

Author: Lianhui Wang <lianhuiwang09@gmail.com>

Closes #13397 from lianhuiwang/avoid-serialize.

(cherry picked from commit 2bfc4f1)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 2bfc4f1 May 31, 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