Skip to content

JSON column: StreamFailureError #599

@alanzhang25

Description

@alanzhang25

I have a JSON column on a CH table and am just trying to retrieve that information and get a error of something like:

clickhouse_connect.driver.exceptions.StreamFailureError: unrecognized data found in stream: 20617373697374616e742e3049206e65656420796f7520746f20736f6c76652074686973206d6174682070726f626c656d3a2031202b2031203d203f01010673797374656d047573657200000000000000000000000000000000ff012b6d6574612d6c6c616d612f4d6574612d4c6c616d612d332e312d38422d496e7374727563742d547572626fff00020000000000000001011c596f752061726520612068656c7066756c20617373697374616e742e3049206e65656420796f7520746f20736f6c76652074686973206d6174682070726f626c656d3a2031202b2031203d203f01010673797374656d047573657200000000000000000000000000000000ff012b6d6574612d6c6c616d612f4d6574612d4c6c616d612d332e312d38422d496e7374727563742d547572626f01ff2222633063646336376537323635623930636261643436363261656163383931346622ff000100000000000000010473746f70000000000000000000012c54686520736f6c7574696f6e20746f20746865206d6174682070726f626c656d2031202b203120697320322e0109617373697374616e7400000000000000000001c0eb094ef9d005c20000000000000000ff0041172e6900000000ff011f6f4d58414563312d34594e4362342d39613736303866363063346263666535ff012b6d6574612d6c6c616d612f4d6574612d4c6c616d612d332e312d38422d496e7374727563742d547572626fff010f636861742e636f6d706c6574696f6eff000000000000000000ff000000000000000000ff001000000000000000ff003900000000000000ff004900000000000000ff000000000000000000ff001000000000000000ff003900000000000000ff00490000000000000000000000000000000000000000000000086475726174696f6e05496e7436347841ca1700000000400fc617000000000b7374617475735f636f64650555496e743800000e7374617475735f6d657373616765104e756c6c61626c6528537472696e672901010000056c696e6b73104e756c6c61626c6528537472696e67290000025b5d025b5d106576656e74732e54696d657374616d70144172726179284461746554696d65363428392929000000000000000000000000000000000b6576656e74732e4e616d651d4172726179284c6f7743617264696e616c69747928537472696e672929010000000000000000000000000000000000000000000000116576656e74732e417474726962757465731a4172726179284d617028537472696e672c20537472696e67292900000000000000000000000000000000

I have got around this for now by converting the JSON to a string and then converting back to JSON in python logic. Please fix this

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions