Skip to content

Lazily obtain CQL for exception translation #1236

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

Closed
samueldlightfoot opened this issue Feb 28, 2022 · 0 comments
Closed

Lazily obtain CQL for exception translation #1236

samueldlightfoot opened this issue Feb 28, 2022 · 0 comments
Labels
type: enhancement A general enhancement

Comments

@samueldlightfoot
Copy link
Contributor

samueldlightfoot commented Feb 28, 2022

ReactiveCassandraTemplate (and potentially other places) eagerly obtain the statement CQL to be used for exception translation (in the case of an error). This is lightweight for most types of statements except for BatchStatement's which build up the CQL iteratively, looping over each statement. The production of the CQL should be done lazily, only in the case of an error such that the work is not performed in the normal flow.

I've raised an issue for awareness. I'm also happy to pick it up.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 28, 2022
@mp911de mp911de added this to the 3.2.10 (2021.0.10) milestone Mar 3, 2022
mp911de added a commit that referenced this issue Mar 3, 2022
mp911de added a commit that referenced this issue Mar 3, 2022
@mp911de mp911de closed this as completed in 8356323 Mar 3, 2022
mp911de added a commit that referenced this issue Mar 3, 2022
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants