-
Couldn't load subscription status.
- Fork 9
implement SQL Filter #80
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
Conversation
closes: #73 Signed-off-by: Gabriele Santomaggio <[email protected]>
closes: #73 Signed-off-by: Gabriele Santomaggio <[email protected]>
Signed-off-by: Gabriele Santomaggio <[email protected]>
Signed-off-by: Gabriele Santomaggio <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements SQL filter functionality for RabbitMQ AMQP streams, allowing users to filter messages using SQL-like expressions. The implementation adds support for SQL filters in the stream consumer options and includes comprehensive test coverage and documentation.
- Added SQL filter support to StreamConsumerOptions and StreamFilterOptions classes
- Created comprehensive test cases to verify SQL filter functionality
- Updated documentation with a new example demonstrating SQL filter usage
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/test_streams.py | Added comprehensive test for SQL filter functionality and cleaned up whitespace formatting across existing tests |
| rabbitmq_amqp_python_client/entities.py | Added SQL filter constants, implemented SQL filter logic, and removed unused 'to' property from MessageProperties |
| examples/streams_with_sql_filters/example_streams_with_sql_filters.py | New example demonstrating SQL filter usage with detailed comments and error handling |
| examples/streams_with_filters/example_streams_with_filters.py | Updated queue name to be more descriptive for message properties filter |
| .ci/ubuntu/gha-setup.sh | Updated RabbitMQ Docker image to version 4.2-rc-management |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <[email protected]>
Signed-off-by: Gabriele Santomaggio <[email protected]>
This PR implements SQL filter functionality for RabbitMQ AMQP streams, allowing users to filter messages using SQL-like expressions. The implementation adds support for SQL filters in the stream consumer options and includes comprehensive test coverage and documentation.
Added SQL filter support to StreamConsumerOptions and StreamFilterOptions classes
Created comprehensive test cases to verify SQL filter functionality
Updated documentation with a new example demonstrating SQL filter usage
closes: #73