(t *testing.T, query string)
| 58 | ) |
| 59 | |
| 60 | func parseOrPanic(t *testing.T, query string) rel.SqlStatement { |
| 61 | stmt, err := rel.ParseSql(query) |
| 62 | if err != nil { |
| 63 | t.Errorf("Parse failed: %s \n%s", query, err) |
| 64 | t.FailNow() |
| 65 | } |
| 66 | return stmt |
| 67 | } |
| 68 | |
| 69 | // We need to be able to re-write queries, as we during joins we have |
| 70 | // to re-write query that we are going to send to a single data source |
no test coverage detected