Open yitsushi opened 1 month ago
I check what I can do, but it seems to me it's a pingcap/tidb
issue as this hits error in internal/engine/dolphin/parse.go
:
stmtNodes, _, err := p.pingcap.Parse(string(blob), "", "")
if err != nil {
return nil, normalizeErr(err)
}
If I understand that parser correctly, it doesn't know anything about varchar2
based on this file: https://github.com/pingcap/tidb/blob/master/pkg/parser/parser.y
What do you want to change?
Oracle has a
varchar2
datatype, and it's the same asvarchar
(at least for now), but it can change in the future. Because of some scanning tools, like SonarCube yells at us to usevarchar2
with the following reason:varchar
is ANSI,varchar2
is Oracle.varchar
to generate code. People can still usevarchar
.Right now if I try to use
varchar2
it fails with syntax error):References:
What database engines need to be changed?
MySQL
What programming language backends need to be changed?
Go