You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2020/12/10 08:49:09 UTC
[kylin] branch master updated: KYLIN-4838 fix KYLIN-4679 bug
This is an automated email from the ASF dual-hosted git repository.
xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 592b710 KYLIN-4838 fix KYLIN-4679 bug
592b710 is described below
commit 592b710a40089a9d2b1d985c91659fcb0ffa8525
Author: chuxiao <ch...@didichuxing.com>
AuthorDate: Tue Dec 8 14:46:35 2020 +0800
KYLIN-4838 fix KYLIN-4679 bug
---
.../src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source-hive/src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java b/source-hive/src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java
index fab77a5..ec48f86 100644
--- a/source-hive/src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java
+++ b/source-hive/src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java
@@ -125,7 +125,7 @@ public class BeelineHiveClient implements IHiveClient {
String hiveTablePrefix = HiveCmdBuilder.getHiveTablePrefix().get();
List<String> ret = Lists.newArrayList();
ResultSet tables = null;
- if (StringUtils.isNotBlank(hiveTablePrefix)) {
+ if (StringUtils.isBlank(hiveTablePrefix)) {
tables = metaData.getTables(null, database, null, null);
} else {
tables = metaData.getTables(null, database, hiveTablePrefix + "*", null);