Cannot correctly escape table name containing "-" symbolSee original GitHub issue
Suppose database name is “test”, table name is “a.b.c-d”, then the escaped result is “test.a.b.c-d”, it will lead to syntax error in sql.
Expected result is “test.
a.b.c-d”, it will work.
Maybe some change shoule be made to
func (q *EvalQuery) escapeIdentifier(identifier string) string ？
- Created 5 months ago