Skip to content

Commit

Permalink
KYLIN-4485 Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyotoYaho committed Jun 9, 2020
1 parent d0d4ff3 commit 6f443a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
23 changes: 0 additions & 23 deletions core-common/src/main/java/org/apache/kylin/common/KConstants.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ public String getCuboidScheduler() {
}

public boolean isRowKeyEncodingAutoConvert() {
return Boolean.parseBoolean(getOptional("kylin.cube.kylin.cube.rowkey-encoding-auto-convert", "true"));
return Boolean.parseBoolean(getOptional("kylin.cube.rowkey-encoding-auto-convert", "true"));
}

public String getSegmentAdvisor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void checkHiveTableCompatibility(String prj, TableDesc tableDesc) throws
hiveTableDesc = pair.getFirst();
} catch (Exception e) {
logger.error("Fail to get metadata for hive table {} due to ", tableDesc.getIdentity(), e);
throw new RuntimeException("Fail to get metadata for hive table" + tableDesc.getIdentity());
throw new RuntimeException("Fail to get metadata for hive table " + tableDesc.getIdentity());
}

TableSchemaUpdateChecker.CheckResult result = getSchemaUpdateChecker().allowMigrate(tableDesc, hiveTableDesc);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ private void updateMeta(KylinConfig config, String projectName, String cubeName,
String[] nodes = config.getRestServers();
Map<String, String> tableToProjects = new HashMap<>();
for (TableRef tableRef : model.getAllTables()) {
tableToProjects.put(tableRef.getTableIdentity(), tableRef.getTableDesc().getProject());
tableToProjects.put(tableRef.getTableIdentity(), projectName);
}

for (String node : nodes) {
Expand Down

0 comments on commit 6f443a3

Please sign in to comment.