[SQL] logWarning should be logInfo in getResultSetSchema
Author: wangfei <wangfei_hello@126.com> Closes #1939 from scwf/patch-5 and squashes the following commits: f952d10 [wangfei] [SQL] logWarning should be logInfo in getResultSetSchema
This commit is contained in:
parent
156eb39661
commit
507a1b5200
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue