Repository: spark Updated Branches: refs/heads/branch-1.1 f8ac8ed7f -> 957b35657
[SQL] logWarning should be logInfo in getResultSetSchema Author: wangfei <[email protected]> Closes #1939 from scwf/patch-5 and squashes the following commits: f952d10 [wangfei] [SQL] logWarning should be logInfo in getResultSetSchema (cherry picked from commit 507a1b520063ad3e10b909767d9e3fd72d24415b) Signed-off-by: Michael Armbrust <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/957b3565 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/957b3565 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/957b3565 Branch: refs/heads/branch-1.1 Commit: 957b356576caa2ab38d1e758c2d3190421894557 Parents: f8ac8ed Author: wangfei <[email protected]> Authored: Mon Aug 25 17:46:43 2014 -0700 Committer: Michael Armbrust <[email protected]> Committed: Mon Aug 25 17:47:05 2014 -0700 ---------------------------------------------------------------------- .../sql/hive/thriftserver/server/SparkSQLOperationManager.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/957b3565/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/server/SparkSQLOperationManager.scala ---------------------------------------------------------------------- diff --git a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/server/SparkSQLOperationManager.scala b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/server/SparkSQLOperationManager.scala index 699a110..6eccb1b 100644 --- a/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/server/SparkSQLOperationManager.scala +++ b/sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/server/SparkSQLOperationManager.scala @@ -151,7 +151,7 @@ class SparkSQLOperationManager(hiveContext: HiveContext) extends OperationManage } def getResultSetSchema: TableSchema = { - logWarning(s"Result Schema: ${result.queryExecution.analyzed.output}") + logInfo(s"Result Schema: ${result.queryExecution.analyzed.output}") if (result.queryExecution.analyzed.output.size == 0) { new TableSchema(new FieldSchema("Result", "string", "") :: Nil) } else { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
