File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1230,7 +1230,7 @@ def __init__(
1230
1230
:param use_cloud_fetch: Whether to use cloud fetch for retrieving results
1231
1231
"""
1232
1232
self .connection = connection
1233
- self .command_id = execute_response .command_handle
1233
+ self .command_id = execute_response .command_id
1234
1234
self .op_state = execute_response .status
1235
1235
self .has_been_closed_server_side = execute_response .has_been_closed_server_side
1236
1236
self .has_more_rows = execute_response .has_more_rows
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def new(cls):
42
42
description = None ,
43
43
arrow_queue = None ,
44
44
is_staging_operation = False ,
45
- command_handle = b" \x22 " ,
45
+ command_id = None ,
46
46
has_been_closed_server_side = True ,
47
47
has_more_rows = True ,
48
48
lz4_compressed = True ,
@@ -155,7 +155,7 @@ def test_closing_result_set_hard_closes_commands(self):
155
155
result_set .close ()
156
156
157
157
mock_thrift_backend .close_command .assert_called_once_with (
158
- mock_results_response .command_handle
158
+ mock_results_response .command_id
159
159
)
160
160
161
161
@patch ("%s.client.ResultSet" % PACKAGE_NAME )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def make_dummy_result_set_from_initial_results(initial_results):
47
47
has_more_rows = False ,
48
48
description = Mock (),
49
49
lz4_compressed = Mock (),
50
- command_handle = None ,
50
+ command_id = None ,
51
51
arrow_queue = arrow_queue ,
52
52
arrow_schema_bytes = schema .serialize ().to_pybytes (),
53
53
is_staging_operation = False ,
@@ -96,7 +96,7 @@ def fetch_results(
96
96
for col_id in range (num_cols )
97
97
],
98
98
lz4_compressed = Mock (),
99
- command_handle = None ,
99
+ command_id = None ,
100
100
arrow_queue = None ,
101
101
arrow_schema_bytes = None ,
102
102
is_staging_operation = False ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def make_dummy_result_set_from_initial_results(arrow_table):
37
37
has_been_closed_server_side = True ,
38
38
has_more_rows = False ,
39
39
description = Mock (),
40
- command_handle = None ,
40
+ command_id = None ,
41
41
arrow_queue = arrow_queue ,
42
42
arrow_schema = arrow_table .schema ,
43
43
),
You can’t perform that action at this time.
0 commit comments