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

feat: implement query profile #1365

Merged
merged 19 commits into from
Mar 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
lint again
  • Loading branch information
kolea2 committed Jan 18, 2024
commit 151ce495c2d85569d16c69e058aa903e633889db
Expand Up @@ -97,7 +97,12 @@ private void sendRequest() {
boolean isQueryPlan = actualResultType.getQueryType() == null && queryMode == QueryMode.PLAN;
Preconditions.checkState(
queryResultType.isAssignableFrom(actualResultType) || isQueryPlan,
"Unexpected result type or query mode. Result type: " + actualResultType + " vs " + queryResultType +", query mode: " + queryMode);
"Unexpected result type or query mode. Result type: "
+ actualResultType
+ " vs "
+ queryResultType
+ ", query mode: "
+ queryMode);

if (runQueryResponsePb.getStats().hasQueryPlan()
|| runQueryResponsePb.getStats().hasQueryStats()) {
Expand Down