Skip to content

Commit 42263c4

Browse files
remove un-necessary check
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 0a8226c commit 42263c4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/databricks/sql/backend/thrift_backend.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,6 @@ def open_session(self, session_configuration, catalog, schema) -> SessionId:
583583
response = self.make_request(self._client.OpenSession, open_session_req)
584584
self._check_initial_namespace(catalog, schema, response)
585585
self._check_protocol_version(response)
586-
if response.sessionHandle is None:
587-
raise DatabaseError("Server returned null session handle")
588586
info = (
589587
{"serverProtocolVersion": response.serverProtocolVersion}
590588
if response.serverProtocolVersion

0 commit comments

Comments
 (0)