Skip to content
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

refactor: rename query to start_query #250

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

flaneur2020
Copy link
Member

query() need always be paired with wait_for_query(), or it may causes session leak without polling the paginated responses.

this PR made a small refactor about rename query to start_query, and query_wait to query, thus may reduce the confusion for the client side on deciding which method to call: just call the query().

core/src/client.rs Outdated Show resolved Hide resolved
@everpcpc everpcpc merged commit 0d68afd into databendlabs:main Oct 9, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants