I see similar behavior when I use the play function of ClickHouse where the browser receives an empty response when things are Ok.
Not sure if this is a bug or if it can be classified and a serious problem.
I suppose the confusing part was when I expected JSON output but got an empty string. In my code I am treading the results like: JSON.parse(session.query(sql, "JSON")); and I just got a JSON parse error.
Hello @auxten
I have been adding a few UDFs to my application/playground.
I found that CREATE FUNCTION returns an empty response even when I instruct CHDB that I would like to get the result in JSON.
Example script:
Console output:
I see similar behavior when I use the play function of ClickHouse where the browser receives an empty response when things are Ok.
Not sure if this is a bug or if it can be classified and a serious problem.
I suppose the confusing part was when I expected JSON output but got an empty string. In my code I am treading the results like:
JSON.parse(session.query(sql, "JSON"));
and I just got a JSON parse error.