Skip to content

Commit 49af2ea

Browse files
fix: use backend in Cursor, not thrift_backend
Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent 8b431c4 commit 49af2ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ def close(self) -> None:
11381138
# Close active operation handle if it exists
11391139
if self.active_op_handle:
11401140
try:
1141-
self.thrift_backend.close_command(self.active_op_handle)
1141+
self.backend.close_command(self.active_op_handle)
11421142
except RequestError as e:
11431143
if isinstance(e.args[1], CursorAlreadyClosedError):
11441144
logger.info("Operation was canceled by a prior request")

0 commit comments

Comments
 (0)