MCPcopy Create free account
hub / github.com/sql-machine-learning/sqlflow / createTestingMaxComputeDB

Function createTestingMaxComputeDB

go/database/testing.go:155–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155func createTestingMaxComputeDB() *DB {
156 db, e := OpenAndConnectDB(testingMaxComputeURL())
157 assertNoErr(e)
158 // Note: We do not popularize the test data here intentionally since
159 // it will take up quite some time on MaxCompute.
160 return db
161}
162
163// assertNoError prints the error if there is any in TestMain, which
164// log doesn't work.

Callers 1

createTestingDBFunction · 0.85

Calls 3

OpenAndConnectDBFunction · 0.85
testingMaxComputeURLFunction · 0.85
assertNoErrFunction · 0.85

Tested by

no test coverage detected