[Feature] (ODBC) support read/write emoji of utf16 via odbc table (#11863)

Co-authored-by: lihaopeng <lihaopeng@baidu.com>
This commit is contained in:
HappenLee
2022-08-18 09:09:02 +08:00
committed by GitHub
parent ff1971f916
commit 582be130dd
4 changed files with 17 additions and 19 deletions

View File

@ -2954,6 +2954,7 @@ public class Env {
sb.append("\"password\" = \"").append(hidePassword ? "" : odbcTable.getPasswd()).append("\",\n");
sb.append("\"driver\" = \"").append(odbcTable.getOdbcDriver()).append("\",\n");
sb.append("\"odbc_type\" = \"").append(odbcTable.getOdbcTableTypeName()).append("\",\n");
sb.append("\"charest\" = \"").append(odbcTable.getCharset()).append("\",\n");
} else {
sb.append("\"odbc_catalog_resource\" = \"").append(odbcTable.getOdbcCatalogResourceName())
.append("\",\n");