You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by li...@apache.org on 2017/04/07 02:24:08 UTC
spark git commit: [SPARK-19495][SQL] Make SQLConf slightly more
extensible - addendum
Repository: spark
Updated Branches:
refs/heads/master 8129d59d0 -> 626b4cafc
[SPARK-19495][SQL] Make SQLConf slightly more extensible - addendum
## What changes were proposed in this pull request?
This is a tiny addendum to SPARK-19495 to remove the private visibility for copy, which is the only package private method in the entire file.
## How was this patch tested?
N/A - no semantic change.
Author: Reynold Xin <rx...@databricks.com>
Closes #17555 from rxin/SPARK-19495-2.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/626b4caf
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/626b4caf
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/626b4caf
Branch: refs/heads/master
Commit: 626b4cafce7d2dca186144336939d4d993b6f878
Parents: 8129d59
Author: Reynold Xin <rx...@databricks.com>
Authored: Thu Apr 6 19:24:03 2017 -0700
Committer: Xiao Li <ga...@gmail.com>
Committed: Thu Apr 6 19:24:03 2017 -0700
----------------------------------------------------------------------
.../src/main/scala/org/apache/spark/sql/internal/SQLConf.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/626b4caf/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index e685c2b..640c0f1 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -1153,7 +1153,7 @@ class SQLConf extends Serializable with Logging {
}
// For test only
- private[spark] def copy(entries: (ConfigEntry[_], Any)*): SQLConf = {
+ def copy(entries: (ConfigEntry[_], Any)*): SQLConf = {
val cloned = clone()
entries.foreach {
case (entry, value) => cloned.setConfString(entry.key, value.toString)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org