Skip to content
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

使用WS参数绑定批量写入数据,子表名包含中文会导致TD子表名乱码 #29998

Open
somnmos opened this issue Mar 4, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@somnmos
Copy link

somnmos commented Mar 4, 2025

Bug Description
使用基于WS连接的参数绑定方式批量写入数据时,若子表名包含中文,自动建表出来会导致子表名乱码,从而无法识别该子表。

To Reproduce
Steps to reproduce the behavior:

  1. 参考https://docs.taosdata.com/develop/stmt/里的WS连接demo。
  2. 将设置tbname的pstmt.setString(1, "我是子表名");设置成含中文的子表名。
  3. 使用数据库客户端(例如:dbeaver)执行 show tables可以查看到子表包含乱码。

Expected Behavior
希望子表名包含中文能够正常显示及被解析。

Screenshots

Image

Environment (please complete the following information):

  • OS: CentOS 7.6.1810
  • 8核16G
  • TD版本:3.3.5.0
  • JDBC DRIVER:3.5.2

Additional Context

@somnmos somnmos added the bug Something isn't working label Mar 4, 2025
@yu285 yu285 self-assigned this Mar 13, 2025
@yu285
Copy link
Contributor

yu285 commented Mar 13, 2025

jdbc 驱动做了截断,下个版本会修复,到时候会同步

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants