File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/databricks/sql/backend/sea Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4848
4949
5050def _filter_session_configuration (
51- session_configuration : Optional [Dict [str , str ]]
51+ session_configuration : Optional [Dict [str , Any ]]
5252) -> Optional [Dict [str , str ]]:
5353 if not session_configuration :
5454 return None
@@ -58,7 +58,7 @@ def _filter_session_configuration(
5858
5959 for key , value in session_configuration .items ():
6060 if key .upper () in ALLOWED_SESSION_CONF_TO_DEFAULT_VALUES_MAP :
61- filtered_session_configuration [key .lower ()] = value
61+ filtered_session_configuration [key .lower ()] = str ( value )
6262 else :
6363 ignored_configs .add (key )
6464
@@ -181,7 +181,7 @@ def max_download_threads(self) -> int:
181181
182182 def open_session (
183183 self ,
184- session_configuration : Optional [Dict [str , str ]],
184+ session_configuration : Optional [Dict [str , Any ]],
185185 catalog : Optional [str ],
186186 schema : Optional [str ],
187187 ) -> SessionId :
You can’t perform that action at this time.
0 commit comments