Skip to content

Commit 0f2828b

Browse files
committed
IGNITE-14127: Default sql page size from 1 => 1024
This closes #13
1 parent 83208c2 commit 0f2828b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pyignite/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def get_cache_names(self) -> list:
519519
return cache_get_names(self.random_node)
520520

521521
def sql(
522-
self, query_str: str, page_size: int = 1, query_args: Iterable = None,
522+
self, query_str: str, page_size: int = 1024, query_args: Iterable = None,
523523
schema: Union[int, str] = 'PUBLIC',
524524
statement_type: int = 0, distributed_joins: bool = False,
525525
local: bool = False, replicated_only: bool = False,
@@ -531,8 +531,8 @@ def sql(
531531
Runs an SQL query and returns its result.
532532
533533
:param query_str: SQL query string,
534-
:param page_size: (optional) cursor page size. Default is 1, which
535-
means that client makes one server call per row,
534+
:param page_size: (optional) cursor page size. Default is 1024, which
535+
means that client makes one server call per 1024 rows,
536536
:param query_args: (optional) query arguments. List of values or
537537
(value, type hint) tuples,
538538
:param schema: (optional) schema for the query. Defaults to `PUBLIC`,

0 commit comments

Comments
 (0)