-
Notifications
You must be signed in to change notification settings - Fork 72
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
CANNOT_READ_ALL_DATA when calling end() #109
Comments
I tested some of
{
"timestamp":1718746919678
"ip4":2130706433
"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
"req_size":0
"content_length":0
"content_type":"image/x-icon"
"method":1
"host":"localhost"
"service":"favicon.ico"
"path":"/"
"status_code":200
"execution_time_ms":0
"version":"HTTP/1.1"
}
{
"timestamp":1718788113783
"api_key":"<my-key>"
"ip4":2130706433
"auth":true
"user_agent":"insomnia/9.2.0"
"req_size":0
"req_content_type":"application/json"
"content_length":4242
"content_type":"application/json"
"method":1
"host":"localhost"
"service":"my-service"
"path":"/"
"query":"f1=true&f2=true"
"status_code":200
"execution_time_ms":77
"version":"HTTP/1.1"
} |
Ok. I managed it to fix only in this way! the other ones don't seem to work |
maybe, it is better to close the issue only after some of your checks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I'm having this kind of issue, already encountered by someone else:
ERROR bad response: Code: 33. DB::Exception: Cannot read all data. Bytes read: 38. Bytes expected: 116.: (at row 1) : While executing BinaryRowInputFormat. (CANNOT_READ_ALL_DATA) (version 24.2.2.16288 (official build))
I cannot figure out what is going wrong...
Here are my rust code:
And the clickhouse DB:
Maybe I missed something from docs?
Could be any of those
Option<_>
that are not annotated in any way (despite I guessskip_serializing_if
should be enough)?Or, do I need to put
Nullable
for each column to match rust impl? as I test, CH put default values anyway, so, as long as they are skipped, there should not be any exception, right?Or, is it better to put serde defaults without
Option<_>
wrappers?EDIT: I also tried the
wa-37420
feature flag. Same resultsThe text was updated successfully, but these errors were encountered: