-
Notifications
You must be signed in to change notification settings - Fork 115
Introduce row_limit
param
#607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
max_rows
param for Cursor
initialisation for SEA
backendmax_rows
param in Cursor
constructor to be used by SEA
backend
max_rows
param in Cursor
constructor to be used by SEA
backendmax_rows
param in Cursor
constructor to be used by SEA backend
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
max_rows
param in Cursor
constructor to be used by SEA backendrow_limit
param
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
is this a breaking change in thrift? the thrift users would have to change to row_limit? |
There is currently no way for the user to specify a row limit with the Thrift backend. The newly introduced In the current implementation, |
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
What type of PR is this?
Description
Introduces a
row_limit
param in theCursor
that constrains the number of rows in the query result, throughresultRowLimit
in Thrift and throughmax_rows
in SEA.Despite
row_limit
not existing in the spec, we feel it is reasonable to introduce it as a param in theCursor
, because:Connection
class has a number of non-spec paramsLIMIT
in their SQL query.How is this tested?
Related Tickets & Documents
N/A