From e3c2431c5b99c869caa51812be13d3af7701e5ca Mon Sep 17 00:00:00 2001 From: Guangdong Liu Date: Fri, 19 Apr 2024 04:34:32 +0800 Subject: [PATCH] comminuty[patch]:Fix Error in apache doris insert (#19989) - **Issue:** #19886 --- libs/community/langchain_community/vectorstores/apache_doris.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/vectorstores/apache_doris.py b/libs/community/langchain_community/vectorstores/apache_doris.py index 12e9b58304f..79c85581a1c 100644 --- a/libs/community/langchain_community/vectorstores/apache_doris.py +++ b/libs/community/langchain_community/vectorstores/apache_doris.py @@ -167,7 +167,7 @@ CREATE TABLE IF NOT EXISTS {self.config.database}.{self.config.table}( ( f"'{self.escape_str(str(_n))}'" if idx != embed_tuple_index - else f"array{str(_n)}" + else f"{str(_n)}" ) for (idx, _n) in enumerate(n) ]