Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented May 4, 2016

What changes were proposed in this pull request?

Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself.

How was this patch tested?

Updated unit tests.

@rxin
Copy link
Contributor Author

rxin commented May 4, 2016

cc @andrewor14

"""User-facing configuration API, accessible through `SparkSession.conf`.
Options set here are automatically propagated to the Hadoop configuration during I/O.
This a thin wrapper around its Scala implementation org.apache.spark.sql.RuntimeConfig.
Copy link
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 documentation relevant to the end user.

cc @dongjoon-hyun

Copy link
Contributor

Choose a reason for hiding this comment

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

I added this actually. Let's remove it.

@SparkQA
Copy link

SparkQA commented May 4, 2016

Test build #57778 has finished for PR 12902 at commit d229062.

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

@andrewor14
Copy link
Contributor

Merging into master 2.0

@asfgit asfgit closed this in 6ae9fc0 May 4, 2016
asfgit pushed a commit that referenced this pull request May 4, 2016
## What changes were proposed in this pull request?
Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself.

## How was this patch tested?
Updated unit tests.

Author: Reynold Xin <rxin@databricks.com>

Closes #12902 from rxin/SPARK-15126.

(cherry picked from commit 6ae9fc0)
Signed-off-by: Andrew Or <andrew@databricks.com>
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