@@ -520,7 +520,7 @@ def get_cache_names(self) -> list:
520520 return cache_get_names (self .random_node )
521521
522522 def sql (
523- self , query_str : str , page_size : int = 1 , query_args : Iterable = None ,
523+ self , query_str : str , page_size : int = 1024 , query_args : Iterable = None ,
524524 schema : Union [int , str ] = 'PUBLIC' ,
525525 statement_type : int = 0 , distributed_joins : bool = False ,
526526 local : bool = False , replicated_only : bool = False ,
@@ -532,8 +532,8 @@ def sql(
532532 Runs an SQL query and returns its result.
533533
534534 :param query_str: SQL query string,
535- :param page_size: (optional) cursor page size. Default is 1 , which
536- means that client makes one server call per row ,
535+ :param page_size: (optional) cursor page size. Default is 1024 , which
536+ means that client makes one server call per 1024 rows ,
537537 :param query_args: (optional) query arguments. List of values or
538538 (value, type hint) tuples,
539539 :param schema: (optional) schema for the query. Defaults to `PUBLIC`,
0 commit comments