Skip to content

[SPARK-29911][SQL][FOLLOWUP] Move related unit test to ThriftServerWithSparkContextSuite#26628

Closed
LantaoJin wants to merge 1 commit intoapache:masterfrom
LantaoJin:SPARK-29911_FOLLOWUP
Closed

[SPARK-29911][SQL][FOLLOWUP] Move related unit test to ThriftServerWithSparkContextSuite#26628
LantaoJin wants to merge 1 commit intoapache:masterfrom
LantaoJin:SPARK-29911_FOLLOWUP

Conversation

@LantaoJin
Copy link
Contributor

What changes were proposed in this pull request?

This is follow up of #26543

See #26543 (comment)

Does this PR introduce any user-facing change?

No

How was this patch tested?

Exist UT.

@LantaoJin
Copy link
Contributor Author

cc @wangyum @srowen

@SparkQA
Copy link

SparkQA commented Nov 21, 2019

Test build #114245 has finished for PR 26628 at commit 443924d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class ThriftServerWithSparkContextSuite extends QueryTest with SharedSparkSession

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

Seems OK as a move.

import org.apache.spark.sql.QueryTest
import org.apache.spark.sql.test.SharedSparkSession

class ThriftServerWithSparkContextSuite extends QueryTest with SharedSparkSession {
Copy link
Member

@dongjoon-hyun dongjoon-hyun Nov 22, 2019

Choose a reason for hiding this comment

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

Do we need to have a new test suite? Originally, I suggested somewhere in HiveThriftServer2Suites.scala. Was it improper for this?

Copy link
Member

Choose a reason for hiding this comment

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

I'm just curious about the blocker you hit at that time, @LantaoJin .

Copy link
Member

Choose a reason for hiding this comment

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

This is because we can't get the SparkContext from HiveThriftServer2Suites.

@HyukjinKwon
Copy link
Member

Merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants