Skip to content

Conversation

dkropachev
Copy link
Contributor

@dkropachev dkropachev commented Feb 14, 2025

Full scan requests are executed slower even if there is only one record

Fixes: #220

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have implemented Rust unit tests for the features/changes introduced.
  • I have enabled appropriate tests in .github/workflows/build.yml in gtest_filter.
  • I have enabled appropriate tests in .github/workflows/cassandra.yml in gtest_filter.

Full scan requests are executed slower even if there is only one record
@dkropachev dkropachev requested a review from muzarski February 14, 2025 23:26
@Lorak-mmk
Copy link
Contributor

Why do we need this? It's only tests / examples.

@dkropachev
Copy link
Contributor Author

Why do we need this? It's only tests / examples.

Sure, why not fix them too?

@wprzytula
Copy link
Contributor

Why do we need this? It's only tests / examples.

It makes sense to have proper use of ScyllaDB in all places, including tests and especially examples.

@muzarski muzarski merged commit 3eeb2d2 into scylladb:master Feb 16, 2025
11 checks passed
@muzarski muzarski mentioned this pull request Apr 14, 2025
muzarski added a commit to muzarski/cpp-rust-driver that referenced this pull request May 5, 2025
1. The test is skipped for Scylla (Scylla does not emit such warning) - I think
   it's better to enable it, and skip it during runtime, rather than disabling it at all.
2. The test is adjusted so the WHERE clause is removed (to trigger the warning).
   The WHERE clause was added here: scylladb#221
muzarski added a commit to muzarski/cpp-rust-driver that referenced this pull request May 6, 2025
1. The test is skipped for Scylla (Scylla does not emit such warning) - I think
   it's better to enable it, and skip it during runtime, rather than disabling it at all.
2. The test is adjusted so the WHERE clause is removed (to trigger the warning).
   The WHERE clause was added here: scylladb#221
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.

Make sure driver uses where key='local' for every select from system.local

4 participants