-
Notifications
You must be signed in to change notification settings - Fork 493
Open
Description
The quick start doesn't seem to work because of the dependency on TiDB.
I start by including both packages:
go get github.com/pingcap/parser
go get github.com/pingcap/tidb
This leaves me with a go.mod
which looks like this:
...
github.com/pingcap/parser v3.0.12+incompatible
github.com/pingcap/tidb v2.0.11+incompatible // indirect
github.com/pingcap/tipb v0.0.0-20200417094153-7316d94df1ee // indirect
...
The main issue seems to be that in the version of tidb used, the tidb/types package does not contain parser_driver.
It looks like it exists in the recent v3.1.0 release.
I tried to force that version but it doesn't seem to be working.
$ go get github.com/pingcap/[email protected]
go get github.com/pingcap/[email protected]: github.com/pingcap/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v3
How do I get the parser working?
old-grrt, qiukeren, clarkmcc, lance6716, eddiearc and 1 more
Metadata
Metadata
Assignees
Labels
No labels