提交 26436a24 编写于 作者: O o2null

Merge branch 'feature/index' into 'develop'

fix getHdfsPath

See merge request o2oa/o2oa!1291
......@@ -475,6 +475,10 @@ public class Query extends ConfigObject {
}
}
public String getHdfsDirectoryPath() {
return this.adjustHdfsDirectoryPath();
}
private String adjustHdfsDirectoryPath() {
return StringUtils.startsWith(this.hdfsDirectoryPath, "/") ? this.hdfsDirectoryPath
: "/" + hdfsDirectoryPath;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册