Skip to content

Commit 13e6346

Browse files
remvoe _fill_result_buffer from SeaResultSet
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent b3bb07e commit 13e6346

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/databricks/sql/result_set.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,6 @@ def is_staging_operation(self) -> bool:
102102
"""Whether this result set represents a staging operation."""
103103
return self._is_staging_operation
104104

105-
# Define abstract methods that concrete implementations must implement
106-
@abstractmethod
107-
def _fill_results_buffer(self):
108-
"""Fill the results buffer from the backend."""
109-
pass
110-
111105
@abstractmethod
112106
def fetchone(self) -> Optional[Row]:
113107
"""Fetch the next row of a query result set."""
@@ -509,16 +503,6 @@ def __init__(
509503
# Initialize queue for result data if not provided
510504
self.results = results_queue or JsonQueue([])
511505

512-
def _fill_results_buffer(self):
513-
"""
514-
Fill the results buffer from the backend.
515-
516-
For SEA, we already have all the data in the results queue,
517-
so this is a no-op.
518-
"""
519-
# No-op for SEA as we already have all the data
520-
pass
521-
522506
def _convert_arrow_table(self, table):
523507
"""
524508
Convert an Arrow table to a list of Row objects.

0 commit comments

Comments
 (0)