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

[BUG]When the client uses the "--chunked" parameter, the full table query displays an exception. #2074

Open
Benxiaohai001 opened this issue Apr 18, 2024 · 0 comments

Comments

@Benxiaohai001
Copy link
Member

Describe the bug

When the client uses the "--chunked" parameter, the full table query displays an exception.
version: cnosdb 2.3.5, revision 29d3262

To Reproduce

root@ubuntu20:/home/bca/code/cnosdb# curl -i -u "root:" -XPOST 'http://127.0.0.1:9902/api/v1/es/write?table=test001' -d '
{"index":{}}
{"_msg":"this is information", "timestamp":"2024-03-27T02:51:11.687Z"}'
HTTP/1.1 200 OK
content-length: 0
date: Thu, 18 Apr 2024 02:19:29 GMT

root@ubuntu20:/home/bca/code/cnosdb# curl -i -u "root:" -XPOST 'http://127.0.0.1:9902/api/v1/es/write?table=test001' -d '
{"index":{}}
{"_msg":"this is information", "timestamp":"2024-03-27T02:51:11.688Z"}'
HTTP/1.1 200 OK
content-length: 0
date: Thu, 18 Apr 2024 02:19:53 GMT

root@ubuntu20:/home/bca/code/cnosdb# curl -i -u "root:" -XPOST 'http://127.0.0.1:9902/api/v1/es/write?table=test001' -d '
{"index":{}}
{"_msg":"this is information", "timestamp":"2024-03-27T02:51:11.688Z"}'
HTTP/1.1 200 OK
content-length: 0
date: Thu, 18 Apr 2024 02:21:15 GMT

root@ubuntu20:/home/bca/code/cnosdb# curl -i -u "root:" -XPOST 'http://127.0.0.1:9902/api/v1/es/write?table=test001' -d '
{"index":{}}
{"_msg":"this is information"}'
HTTP/1.1 200 OK
content-length: 0
date: Thu, 18 Apr 2024 02:22:12 GMT

root@ubuntu20:/home/bca/code/cnosdb# curl -i -u "root:" -XPOST 'http://127.0.0.1:9902/api/v1/es/write?table=test001' -d '
{"index":{}}
{"_msg":"this is information", "wwww": "12344"}'
HTTP/1.1 200 OK
content-length: 0
date: Thu, 18 Apr 2024 02:31:18 GMT


public ❯ select * from test001;
+-------------------------------+--------------------------+---------------------+------+
| time                          | timestamp                | _msg                | wwww |
+-------------------------------+--------------------------+---------------------+------+
| 2024-04-18T02:19:29.891756398 | 2024-03-27T02:51:11.687Z | this is information |      |
+-------------------------------+--------------------------+---------------------+------++-------------------------------+--------------------------+---------------------+------+
| time                          | timestamp                | _msg                | wwww |
+-------------------------------+--------------------------+---------------------+------+
| 2024-04-18T02:19:53.054980192 | 2024-03-27T02:51:11.688Z | this is information |      |
| 2024-04-18T02:21:15.206000989 | 2024-03-27T02:51:11.688Z | this is information |      |
+-------------------------------+--------------------------+---------------------+------++-------------------------------+-----------+---------------------+------+
| time                          | timestamp | _msg                | wwww |
+-------------------------------+-----------+---------------------+------+
| 2024-04-18T02:22:12.077612410 |           | this is information |      |
+-------------------------------+-----------+---------------------+------++-------------------------------+-----------+---------------------+-------+
| time                          | timestamp | _msg                | wwww  |
+-------------------------------+-----------+---------------------+-------+
| 2024-04-18T02:31:18.397786117 |           | this is information | 12344 |
+-------------------------------+-----------+---------------------+-------+
Query took 0.005 seconds.

Expected behavior

No response

Additional context

No response

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

No branches or pull requests

1 participant