GitHub user zhichao-li opened a pull request:
https://github.com/apache/spark/pull/8915
[SPARK-10427][SQL]Respect -S option for spark-sql
"-S" option is ignored by the conf setting logic at the moment, we need to
pick up this to complete the "silent" function.
Before:
lizhichao@lizhichao-desktop:~/repo/spark/bin$ ./spark-sql -S -e "show
databases"
SET hive.support.sql11.reserved.keywords=false
SET spark.sql.hive.version=1.2.1
SET spark.sql.hive.version=1.2.1
OK
default
After:
lizhichao@lizhichao-desktop:~/repo/spark/bin$ ./spark-sql -S -e "show
databases"
defau
efault
After:
lizhichao@lizhichao-desktop:~/repo/spark/bin$ ./spark-sql -S -e "show
databases"
default
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhichao-li/spark cleanOutput
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8915.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #8915
----
commit b9dc8d1c12005ea8da819cf3e8af57853e96c6d9
Author: zhichao.li <[email protected]>
Date: 2015-09-25T05:39:50Z
respect -S option for spark-sql
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]