XiaoMi / soar

SQL Optimizer And Rewriter
Apache License 2.0
8.67k stars 1.32k forks source link

install error undefined: sqlparser.SEQUENCE #228

Closed yann0917 closed 5 years ago

yann0917 commented 5 years ago

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

install error

源码安装错误

go get -d github.com/XiaoMi/soar
cd ${GOPATH}/src/github.com/XiaoMi/soar && make
Go version check ...
go version check pass
Run gofmt on all source files ...
gofmt -l -s -w ...
Building ...
# github.com/XiaoMi/soar/ast
ast/token.go:366:2: undefined: sqlparser.SEQUENCE
make: *** [build] Error 2
  1. What did you expect to see?

install success

  1. What did you see instead?

  2. What version of are you using (soar -version)?

martianzhang commented 5 years ago

Thanks you! I'll try with Go 1.13. We develop soar with Go 1.11.

martianzhang commented 5 years ago

image