Skip to content

Commit ed7079e

Browse files
has_more_rows -> is_direct_results
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent ba91138 commit ed7079e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/databricks/sql/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def __init__(
184184
# Initialize ThriftResultSet-specific attributes
185185
self._arrow_schema_bytes = execute_response.arrow_schema_bytes
186186
self._use_cloud_fetch = use_cloud_fetch
187-
self.has_more_rows = has_more_rows
187+
self.is_direct_results = is_direct_results
188188

189189
# Build the results queue if t_row_set is provided
190190
results_queue = None

tests/unit/test_sea_result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def execute_response(self):
3434
mock_response.command_id = CommandId.from_sea_statement_id("test-statement-123")
3535
mock_response.status = CommandState.SUCCEEDED
3636
mock_response.has_been_closed_server_side = False
37-
mock_response.has_more_rows = False
37+
mock_response.is_direct_results = False
3838
mock_response.results_queue = None
3939
mock_response.description = [
4040
("test_value", "INT", None, None, None, None, None)

0 commit comments

Comments
 (0)