We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a926f02 commit 55ad001Copy full SHA for 55ad001
src/databricks/sql/utils.py
@@ -181,7 +181,6 @@ def __init__(
181
182
def next_n_rows(self, num_rows: int) -> "pyarrow.Table":
183
"""Get upto the next n rows of the Arrow dataframe"""
184
-
185
length = min(num_rows, self.n_valid_rows - self.cur_row_index)
186
# Note that the table.slice API is not the same as Python's slice
187
# The second argument should be length, not end index
0 commit comments