{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8915","labels_url":"https://api.github.com/repos/apache/spark/issues/8915/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8915/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8915/events","html_url":"https://github.com/apache/spark/pull/8915","id":108268477,"number":8915,"title":"[SPARK-10427][SQL]Respect -S option for spark-sql","user":{"login":"zhichao-li","id":2662017,"avatar_url":"https://avatars.githubusercontent.com/u/2662017?v=3","gravatar_id":"","url":"https://api.github.com/users/zhichao-li","html_url":"https://github.com/zhichao-li","followers_url":"https://api.github.com/users/zhichao-li/followers","following_url":"https://api.github.com/users/zhichao-li/following{/other_user}","gists_url":"https://api.github.com/users/zhichao-li/gists{/gist_id}","starred_url":"https://api.github.com/users/zhichao-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhichao-li/subscriptions","organizations_url":"https://api.github.com/users/zhichao-li/orgs","repos_url":"https://api.github.com/users/zhichao-li/repos","events_url":"https://api.github.com/users/zhichao-li/events{/privacy}","received_events_url":"https://api.github.com/users/zhichao-li/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-09-25T05:53:43Z","updated_at":"2015-12-22T02:42:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8915","html_url":"https://github.com/apache/spark/pull/8915","diff_url":"https://github.com/apache/spark/pull/8915.diff","patch_url":"https://github.com/apache/spark/pull/8915.patch"},"body":"\"-S\" option is ignored by the conf setting logic at the moment, we need to pick up this to complete the \"silent\" function.  \r\n\r\nBefore:\r\nlizhichao@lizhichao-desktop:~/repo/spark/bin$ ./spark-sql -S -e \"show databases\"\r\nSET hive.support.sql11.reserved.keywords=false\r\nSET spark.sql.hive.version=1.2.1\r\nSET spark.sql.hive.version=1.2.1\r\nOK\r\ndefault\r\n\r\nAfter:\r\nlizhichao@lizhichao-desktop:~/repo/spark/bin$ ./spark-sql -S -e \"show databases\"                                                    \r\ndefault\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/166486812","html_url":"https://github.com/apache/spark/pull/8915#issuecomment-166486812","issue_url":"https://api.github.com/repos/apache/spark/issues/8915","id":166486812,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T02:42:22Z","updated_at":"2015-12-22T02:42:22Z","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48148/\nTest FAILed."}}