(t *testing.T)
| 110 | } |
| 111 | |
| 112 | func TestClickHouseGlobalIn(t *testing.T) { |
| 113 | sql := `SELECT id FROM orders WHERE id GLOBAL IN (SELECT id FROM users)` |
| 114 | _, err := parser.ParseWithDialect(sql, keywords.DialectClickHouse) |
| 115 | if err != nil { |
| 116 | t.Fatalf("unexpected error parsing GLOBAL IN: %v", err) |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | func TestClickHouseFinalWithWhere(t *testing.T) { |
| 121 | sql := `SELECT * FROM orders FINAL WHERE id > 5` |
nothing calls this directly
no test coverage detected