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

Fir 27646 remove client generated query #302

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

alexradzin
Copy link
Collaborator

No description provided.

@alexradzin alexradzin requested a review from a team as a code owner December 4, 2023 09:02
@alexradzin alexradzin force-pushed the FIR-27646-remove-client-generated-query-id branch from 63644b0 to b6c3298 Compare December 4, 2023 10:58
}
Thread.sleep(5000);
verifyThatNoMoreRecordsAreAdded(connection, "first_statement_cancel_test", totalRecordsToInsert);
verifyThatNoMoreRecordsAreAdded(connection, "first_statement_cancel_test");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only insert statement I see in this test is insert into ex_lineitem ( l_orderkey ) SELECT * FROM GENERATE_SERIES(1, 1000)
Why do we check first_statement_cancel_test table then? Shouldn't it be ex_lineitem? I'm probably missing the idea of the test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we ever interact with first_statement_cancel_test and second_statement_cancel_test here?

log.warn("Could not execute statement", e);
}
}
// @BeforeAll
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we plan to even uncomment this?
In case no, let's just delete this part. In case yes, let's add a comment on top mentioning when do we plan to uncomment this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uncommented. 10x!

return quedAborted || runningAborted;
}

private boolean abortCallWithId(Optional<Call> call) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: abortCallWithId -> abortCall since no id is passed

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed

@alexradzin alexradzin force-pushed the FIR-27646-remove-client-generated-query-id branch from 91d885e to f4bc232 Compare December 13, 2023 07:59
@alexradzin alexradzin force-pushed the FIR-27646-remove-client-generated-query-id branch from f4bc232 to 09821bf Compare December 13, 2023 08:01
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

78.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@alexradzin alexradzin merged commit 015ced5 into master Dec 13, 2023
@alexradzin alexradzin deleted the FIR-27646-remove-client-generated-query-id branch December 13, 2023 08:04
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