add kylin support

This commit is contained in:
yinheli
2017-05-27 11:27:37 +08:00
parent 78488b0b1a
commit 59a3a9df8c
4 changed files with 66 additions and 0 deletions
@@ -448,6 +448,8 @@ public final class JdbcUtils implements JdbcConstants {
return "org.apache.phoenix.queryserver.client.Driver";
} else if (rawUrl.startsWith("jdbc:phoenix://")) {
return JdbcConstants.PHOENIX_DRIVER;
} else if (rawUrl.startsWith("jdbc:kylin:")) {
return JdbcConstants.KYLIN_DRIVER;
} else {
throw new SQLException("unkow jdbc driver : " + rawUrl);
}