TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

官方的Springbootdemo,测试查询语句,结果不对。

Open Chenchen123456789 opened this issue 8 months ago • 7 comments

Bug Description 这是查询语句 <select id="testSelect" resultMap="BaseResultMap"> select tbname, last(*) from test.weather where tbname = 't1' 这条语句放在tdengine客户端直接执行是没问题的。 在官方spingbootdemo中执行,返回结果为空。没有改任何代码。

Expected Behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: win11,docker v28
  • Memory, CPU, current Disk Space
  • TDengine Version 3.3.6.3

Additional Context Add any other context about the problem here.

Chenchen123456789 avatar Apr 27 '25 08:04 Chenchen123456789

https://github.com/taosdata/TDengine/tree/main/docs/examples/JDBC/springbootdemo

请问 是这个吗

yu285 avatar May 07 '25 02:05 yu285

https://github.com/taosdata/TDengine/tree/main/docs/examples/JDBC/springbootdemo

请问 是这个吗

是的

Chenchen123456789 avatar May 07 '25 02:05 Chenchen123456789

能把代码截图和无数据反馈的图片截上来吗

yu285 avatar May 07 '25 02:05 yu285

您好我们需要了解一下具体信息,可以微信沟通一下吗:

a15652223354

@Chenchen123456789

yu285 avatar May 12 '25 03:05 yu285

您好我们需要了解一下具体信息,可以微信沟通一下吗:

a15652223354

@Chenchen123456789

加了

Chenchen123456789 avatar May 13 '25 07:05 Chenchen123456789

Image

Image

Image

为什么database存在,提示auth failure:Database not exist

在界面上操作SQL是能执行的

Image

hp88yx avatar Jun 03 '25 12:06 hp88yx

database不能是驼峰,不然会找不到, testDB 改成 test_db就可以使用 建议把这个提示修改,不然会存在误导

Image

hp88yx avatar Jun 04 '25 01:06 hp88yx