Skip to content

Conversation

@adelapena
Copy link

The method RowFilter.AnalyzableExpression#numFilteredValues, which is used by the query_filters guardrail, uses the index analyzer, whereas it should use the query analyzer. This could lead to wrongly triggering the guardrail in some cases.

@adelapena adelapena self-assigned this Feb 28, 2025
@github-actions
Copy link

Checklist before you submit for review

  • Make sure there is a PR in the CNDB project updating the Converged Cassandra version
  • Use NoSpamLogger for log lines that may appear frequently in the logs
  • Verify test results on Butler
  • Test coverage for new/modified code is > 80%
  • Proper code formatting
  • Proper title for each commit staring with the project-issue number, like CNDB-1234
  • Each commit has a meaningful description
  • Each commit is not very long and contains related changes
  • Renames, moves and reformatting are in distinct commits

@sonarqubecloud
Copy link

@cassci-bot
Copy link

✔️ Build ds-cassandra-pr-gate/PR-1615 approved by Butler


Approved by Butler
See build details here

@adelapena adelapena merged commit ebc4bc6 into main Mar 24, 2025
474 of 479 checks passed
@adelapena adelapena deleted the CNDB-13171-main branch March 24, 2025 15:51
djatnieks pushed a commit that referenced this pull request Apr 14, 2025
…ead of the query analyzer (#1615)

Fix `RowFilter.AnalyzableExpression#numFilteredValues`, which is
used by the `query_filters` guardrail, to use the query analyzer, instead
of the index analyzer. That prevents wrong triggerings of the guardrail.
djatnieks pushed a commit that referenced this pull request May 18, 2025
…ead of the query analyzer (#1615)

Fix `RowFilter.AnalyzableExpression#numFilteredValues`, which is
used by the `query_filters` guardrail, to use the query analyzer, instead
of the index analyzer. That prevents wrong triggerings of the guardrail.
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.

4 participants