MCPcopy Create free account
hub / github.com/araddon/qlbridge / parseOrPanic

Function parseOrPanic

rel/sql_test.go:60–67  ·  view source on GitHub ↗
(t *testing.T, query string)

Source from the content-addressed store, hash-verified

58)
59
60func 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

Callers 4

TestToSqlFunction · 0.85
TestSqlRewriteTempFunction · 0.85
TestSqlRewriteFunction · 0.85
TestSqlFingerPrintingFunction · 0.85

Calls 2

ParseSqlFunction · 0.92
ErrorfMethod · 0.80

Tested by

no test coverage detected