Skip to content
2 changes: 1 addition & 1 deletion src/databricks/sql/thrift_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def fetch_results(

resp = self.make_request(self._client.FetchResults, req)
if resp.results.startRowOffset > expected_row_start_offset:
logger.warning(
raise ValueError(
"Expected results to start from {} but they instead start at {}".format(
expected_row_start_offset, resp.results.startRowOffset
)
Expand Down
Loading