Skip to content

Conversation

@watermen
Copy link
Contributor

When run ./bin/spark-sql --name query1.sql
[Before]
before

[After]
after

@yhuai
Copy link
Contributor

yhuai commented Jun 27, 2015

test this please.

@yhuai
Copy link
Contributor

yhuai commented Jun 27, 2015

Can we query the app name in cli or beeline? If so, I am wondering if we can have a test for this change.

@SparkQA
Copy link

SparkQA commented Jun 27, 2015

Test build #35902 has finished for PR 7030 at commit e3d7647.

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a comment to explain this filter?

Copy link
Contributor

Choose a reason for hiding this comment

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

Minor styling suggestion:

val maybeAppName = sparkConf
  .getOption("spark.app.name")
  .filterNot(_ == classOf[SparkSQLCLIDriver].getName)

@liancheng
Copy link
Contributor

LGTM

@yhuai
Copy link
Contributor

yhuai commented Jun 30, 2015

ok to test

@SparkQA
Copy link

SparkQA commented Jun 30, 2015

Test build #36088 has finished for PR 7030 at commit 51b5134.

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

@yhuai
Copy link
Contributor

yhuai commented Jun 30, 2015

Thanks! Merging to master.

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.

4 participants