(t *testing.T)
| 102 | } |
| 103 | |
| 104 | func TestClickHouseGlobalJoin(t *testing.T) { |
| 105 | sql := `SELECT t1.id, t2.name FROM t1 GLOBAL JOIN t2 ON t1.id = t2.id` |
| 106 | _, err := parser.ParseWithDialect(sql, keywords.DialectClickHouse) |
| 107 | if err != nil { |
| 108 | t.Fatalf("unexpected error parsing GLOBAL JOIN: %v", err) |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | func TestClickHouseGlobalIn(t *testing.T) { |
| 113 | sql := `SELECT id FROM orders WHERE id GLOBAL IN (SELECT id FROM users)` |
nothing calls this directly
no test coverage detected