Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into SPARK-18120
  • Loading branch information
salilsurendran authored Jan 30, 2017
commit b0392ed5a8ebda9ace514b10bc383b9ffa47ac4c
Original file line number Diff line number Diff line change
Expand Up @@ -660,13 +660,21 @@ object SQLConf {
.booleanConf
.createWithDefault(false)


val QUERY_EXECUTION_LISTENERS =
Copy link
Member

Choose a reason for hiding this comment

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

I think we can put it into StaticSQLConf

ConfigBuilder("spark.sql.queryExecutionListeners")
.doc("QueryExecutionListeners to be attached to the SparkSession")
Copy link
Member

Choose a reason for hiding this comment

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

Can you improve this line? Add what you wrote in the sql-programming-guide.md?

Copy link
Author

Choose a reason for hiding this comment

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

In this case I updated the doc to read "A comma-separated list of classes that implement QueryExecutionListener that will be attached to the SparkSession". I could attach the whole line I put in sql-programming-guide.md but it will make it look out of place compared to the docs for other properties in the same class.

Copy link
Member

Choose a reason for hiding this comment

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

We do not have a separate document for the Spark SQL configuration. We expect users to do it using the command set -v. This command will output the contents of doc.

.stringConf
.toSequence
.createWithDefault(Nil)

val SESSION_LOCAL_TIMEZONE =
SQLConfigBuilder("spark.sql.session.timeZone")
.doc("""The ID of session local timezone, e.g. "GMT", "America/Los_Angeles", etc.""")
.stringConf
.createWithDefault(TimeZone.getDefault().getID())


Copy link
Member

Choose a reason for hiding this comment

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

Nit: Please remove this empty line

object Deprecated {
val MAPRED_REDUCE_TASKS = "mapred.reduce.tasks"
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.