Skip to content

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

feat(ws): support blob type #338

wants to merge 8 commits into from

Conversation

qevolg
Copy link
Contributor

@qevolg qevolg commented Jun 6, 2025

Description

Support blob type

Jira: https://jira.taosdata.com:18080/browse/TD-35104

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.56%. Comparing base (66207f1) to head (2bfa207).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@qevolg qevolg marked this pull request as ready for review July 24, 2025 06:04
@qevolg qevolg requested a review from Copilot July 24, 2025 06:04
Copy link

@Copilot Copilot AI left a 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

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.

2 participants