xeus-clickhouse icon indicating copy to clipboard operation
xeus-clickhouse copied to clipboard

select 语句没有结果返回

Open V119 opened this issue 2 years ago • 3 comments

当我执行select语句的时候,没有结果返回,日志出现如下错误: [D 2023-02-09 09:10:03.902 SingleUserLabApp kernelmanager:558] activity on f8c0124d-f820-4467-8726-54a9e4229872: status (busy) [D 2023-02-09 09:10:03.904 SingleUserLabApp kernelmanager:565] activity on f8c0124d-f820-4467-8726-54a9e4229872: execute_input ERROR: during execute_request [json.exception.type_error.316] invalid UTF-8 byte at index 410: 0xFF [D 2023-02-09 09:10:03.938 SingleUserLabApp kernelmanager:558] activity on f8c0124d-f820-4467-8726-54a9e4229872: status (idle) 请问这个问题我要怎么解决

V119 avatar Feb 09 '23 09:02 V119

这个库很久没维护了

wangfenjin avatar Feb 09 '23 13:02 wangfenjin

我发现问题了,需要在 pub_data["text/html"] = html_table.str() 之前将html_table里的非UTF-8字符处理掉

V119 avatar Feb 09 '23 13:02 V119

这个库很久没维护了

谢谢哈

V119 avatar Feb 09 '23 13:02 V119