databend
databend copied to clipboard
`logictest` will mistake converting double quote `"` to single quote `'` in query when testing with http protocol
https://github.com/datafuselabs/databend/blob/43cbd00efd425c1c2eb42a1f3815282754b28873/tests/logictest/http_connector.py#L121-L129
cc @ZeaLoVe
I think we should not do manual escape here, the SQL should remain unchanged after the JSON encode(client)/decode(server), need to examine why we are relying on this escape now.
I think we should not do manual escape here, the SQL should remain unchanged after the JSON encode(client)/decode(server), need to examine why we are relying on this escape now.
The comments include some cases need this converting, maybe you can help to solve this, cc @youngsofun
select "false"::boolean = not "true"::boolean;
SELECT parse_json('"false"')::boolean;