You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2016/07/22 04:08:30 UTC
[3/5] kylin git commit: KYLIN-1912 support for beeline
KYLIN-1912 support for beeline
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/39b3b351
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/39b3b351
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/39b3b351
Branch: refs/heads/tpy
Commit: 39b3b35141cdc4feb5cce323a5a4c70496b5ab4a
Parents: b8cae1e
Author: shaofengshi <sh...@apache.org>
Authored: Fri Jul 22 10:27:19 2016 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Fri Jul 22 10:27:19 2016 +0800
----------------------------------------------------------------------
.../src/main/java/org/apache/kylin/source/hive/HiveMRInput.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/39b3b351/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
----------------------------------------------------------------------
diff --git a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
index 4026006..24c5705 100644
--- a/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
+++ b/source-hive/src/main/java/org/apache/kylin/source/hive/HiveMRInput.java
@@ -177,7 +177,7 @@ public class HiveMRInput implements IMRInput {
} catch (IOException e) {
throw new RuntimeException("Failed to generate hive set statements for createFlatHiveTableStep", e);
}
- final String useDatabaseHql = "USE " + conf.getConfig().getHiveDatabaseForIntermediateTable() + ";";
+ final String useDatabaseHql = "USE " + conf.getConfig().getHiveDatabaseForIntermediateTable() + ";\n";
hiveCmdBuilder.addStatement(useDatabaseHql);
hiveCmdBuilder.addStatement(setHql);
for(TableDesc lookUpTableDesc : lookupViewsTables) {