From fb79c218536ffa4c87a6c2aa2af09c4eff76a829 Mon Sep 17 00:00:00 2001 From: Johan Teekens Date: Sat, 30 Dec 2023 09:21:49 +0100 Subject: [PATCH 1/2] issue 9748 --- llama_index/utilities/sql_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_index/utilities/sql_wrapper.py b/llama_index/utilities/sql_wrapper.py index f6fd6713f2df5..cf14a897db050 100644 --- a/llama_index/utilities/sql_wrapper.py +++ b/llama_index/utilities/sql_wrapper.py @@ -45,7 +45,7 @@ def __init__( ignore_tables: Optional[List[str]] = None, include_tables: Optional[List[str]] = None, sample_rows_in_table_info: int = 3, - indexes_in_table_info: bool = False, + indexes_in_table_info: bool = True, custom_table_info: Optional[dict] = None, view_support: bool = False, max_string_length: int = 300, From e1aade9dfc5ebcf36526bd08ad668ba976c3d886 Mon Sep 17 00:00:00 2001 From: johanteekens Date: Tue, 2 Jan 2024 21:12:42 +0100 Subject: [PATCH 2/2] issue 9748 --- llama_index/utilities/sql_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_index/utilities/sql_wrapper.py b/llama_index/utilities/sql_wrapper.py index cf14a897db050..01b7d909de2f3 100644 --- a/llama_index/utilities/sql_wrapper.py +++ b/llama_index/utilities/sql_wrapper.py @@ -47,7 +47,7 @@ def __init__( sample_rows_in_table_info: int = 3, indexes_in_table_info: bool = True, custom_table_info: Optional[dict] = None, - view_support: bool = False, + view_support: bool = True, max_string_length: int = 300, ): """Create engine from database URI."""