You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/05/12 09:44:50 UTC
[kylin] branch 2.6.x updated: Fix UT
This is an automated email from the ASF dual-hosted git repository.
nic pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/2.6.x by this push:
new e21f4c5 Fix UT
e21f4c5 is described below
commit e21f4c5e93ddfb435d2ca2aa31d2f361a6f6507d
Author: XiaoxiangYu <hi...@126.com>
AuthorDate: Tue May 12 17:35:06 2020 +0800
Fix UT
---
.../org/apache/kylin/sdk/datasource/framework/conv/SqlConverter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datasource-sdk/src/main/java/org/apache/kylin/sdk/datasource/framework/conv/SqlConverter.java b/datasource-sdk/src/main/java/org/apache/kylin/sdk/datasource/framework/conv/SqlConverter.java
index 13af472..1d9dbe2 100644
--- a/datasource-sdk/src/main/java/org/apache/kylin/sdk/datasource/framework/conv/SqlConverter.java
+++ b/datasource-sdk/src/main/java/org/apache/kylin/sdk/datasource/framework/conv/SqlConverter.java
@@ -41,7 +41,7 @@ public class SqlConverter {
}
public String convertSql(String orig) {
- String converted = orig;
+ String converted = orig.replaceAll("`", "\"");
if (!configurer.skipHandleDefault()) {
String escapedDefault = SqlDialect.CALCITE