Skip to content

Conversation

@gatorsmile
Copy link
Member

@gatorsmile gatorsmile commented Jul 6, 2016

What changes were proposed in this pull request?

  • Remove useless MetastoreRelation from the signature of SparkHiveWriterContainer and SparkHiveDynamicPartitionWriterContainer.
  • Avoid unnecessary metadata retrieval using Hive client in InsertIntoHiveTable.

How was this patch tested?

Existing test cases already cover it.

// scalastyle:on
val oldPart =
client.getPartitionOption(
client.getTable(table.databaseName, table.tableName),
Copy link
Member Author

@gatorsmile gatorsmile Jul 6, 2016

Choose a reason for hiding this comment

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

This is the unnecessary getTable call

@SparkQA
Copy link

SparkQA commented Jul 6, 2016

Test build #61803 has finished for PR 14062 at commit ccc26c9.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@asfgit asfgit closed this in ec18cd0 Jul 6, 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