When I use start-cli.sh
to execute a query SQL, it only returns top 1000 rows of the whole results.
And then, I use start-cli.sh -e "sql" > redirect.txt
, but it only gets 1000 rows and must use ctrl c
to stop. How can I get the whole result?
CodePudding user response:
this is a known issue. One simple solution is using start-cli.sh -maxPRC -1 -e "sql" > redirect.txt
. Thanks!