This is an automated email from the ASF dual-hosted git repository. zykkk pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 032d064be9 [fix](jdbc catalog) fix insert string data to sqlserver (#23357) 032d064be9 is described below commit 032d064be98f5d6784246b2ad4fc187c7ca09b1d Author: zy-kkk <zhongy...@gmail.com> AuthorDate: Wed Aug 23 14:40:28 2023 +0800 [fix](jdbc catalog) fix insert string data to sqlserver (#23357) --- be/src/exec/table_connector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/exec/table_connector.cpp b/be/src/exec/table_connector.cpp index 2ff9d71de1..29daaf8532 100644 --- a/be/src/exec/table_connector.cpp +++ b/be/src/exec/table_connector.cpp @@ -422,7 +422,7 @@ Status TableConnector::convert_column_data(const vectorized::ColumnPtr& column_p // for oracle/pg database string must be ' if (table_type == TOdbcTableType::ORACLE || table_type == TOdbcTableType::POSTGRESQL || table_type == TOdbcTableType::SAP_HANA || table_type == TOdbcTableType::MYSQL || - table_type == TOdbcTableType::CLICKHOUSE) { + table_type == TOdbcTableType::CLICKHOUSE || table_type == TOdbcTableType::SQLSERVER) { fmt::format_to(_insert_stmt_buffer, "'{}'", fmt::basic_string_view(item, size)); } else { fmt::format_to(_insert_stmt_buffer, "\"{}\"", fmt::basic_string_view(item, size)); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org