Please answer these questions before submitting your issue. Thanks!
What did you do?
./soar -query "SELECT f1 + f2 AS `total_num` FROM tb"
What did you expect to see?
能正常解析
What did you see instead?
SELECT
f1 + f2 AS total_num : command not found
FROM
tb
## MySQL执行出错
syntax error at position 30 near ':'
4. What version of are you using (`soar -version`)?
Version: 2018-10-23 16:27:51 +0800 @7519019
Branch: master
Compile: 2018-10-23 18:26:17 +0800 by go version go1.10.4 linux/amd64
GitDirty: 105
Please answer these questions before submitting your issue. Thanks!
What did you do?
What did you expect to see? 能正常解析
What did you see instead?
SELECT
f1 + f2 AS total_num : command not found
FROM
tb