[sql expressions] fix: use ast to read tables (#87867) - backport (#87875)

* add flatten
* add escape
This commit is contained in:
Scott Lepper
2024-05-15 07:52:04 -04:00
committed by GitHub
parent 26488cd3eb
commit 39720ee0dd
5 changed files with 148 additions and 197 deletions
+1
View File
@@ -6,6 +6,7 @@ import (
)
func TestNewCommand(t *testing.T) {
t.Skip()
cmd, err := NewSQLCommand("a", "select a from foo, bar")
if err != nil && strings.Contains(err.Error(), "feature is not enabled") {
return