-
Notifications
You must be signed in to change notification settings - Fork 14
feat(ws): support blob type #338
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #338 +/- ##
=======================================
Coverage 81.56% 81.56%
=======================================
Files 24 24
Lines 3537 3537
=======================================
Hits 2885 2885
Misses 652 652 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 adds support for the blob data type in the taos-ws-py Python binding for TDengine. The implementation enables handling blob values across SQL queries, prepared statements, and message queue operations.
- Adds blob data type support to value handling and prepared statement binding
- Includes comprehensive test coverage for blob operations via SQL, prepared statements, and TMQ
- Updates dependency to use a feature branch that includes blob support
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 18 comments.
Show a summary per file
File | Description |
---|---|
taos-ws-py/src/lib.rs | Adds blob value handling and blob_to_column function for prepared statements |
taos-ws-py/src/common.rs | Implements blob value conversion to Python objects |
taos-ws-py/tests/test_blob.py | Comprehensive test suite covering blob operations in SQL, prepared statements, and TMQ |
taos-ws-py/src/consumer.rs | Adds documentation comment for poll method |
taos-ws-py/Cargo.toml | Updates dependency branch to feat/TD-35106 for blob support |
.github/workflows/taos-ws-py-compatibility.yml | Adds TEST_TD_3360 environment variable to skip blob tests |
Multiple test files | Removes commented-out code for cleanup |
Description
Support blob type
Jira: https://jira.taosdata.com:18080/browse/TD-35104
Checklist
Please check the items in the checklist if applicable.