Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ protected JdbcClickHouseClient(JdbcClientConfig jdbcClientConfig) {
}
}

protected JdbcClickHouseClient() {
}

@Override
public List<String> getDatabaseNameList() {
Connection conn = null;
Expand Down Expand Up @@ -123,7 +126,7 @@ protected String getCatalogName(Connection conn) throws SQLException {

@Override
protected String[] getTableTypes() {
return new String[] {"TABLE", "VIEW", "SYSTEM TABLE"};
return new String[] { "TABLE", "VIEW", "SYSTEM TABLE" };
}

@Override
Expand Down Expand Up @@ -185,6 +188,8 @@ protected Type jdbcTypeToDoris(JdbcFieldSchema fieldSchema) {
return Type.BOOLEAN;
case "Int8":
return Type.TINYINT;
case "Nothing":
return Type.TINYINT;
case "Int16":
case "UInt8":
return Type.SMALLINT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ protected void setJdbcDriverSystemProperties() {
System.setProperty("com.zaxxer.hikari.useWeakReferences", "true");
}

protected JdbcClient() {
}

// Initialize DataSource
private void initializeDataSource(JdbcClientConfig config) {
ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
Expand Down
Loading
Loading