MCPcopy Create free account
hub / github.com/brimdata/super / RunQueryBSUP

Function RunQueryBSUP

fuzz/fuzz.go:76–81  ·  view source on GitHub ↗
(t testing.TB, buf *bytes.Buffer, querySource string)

Source from the content-addressed store, hash-verified

74}
75
76func RunQueryBSUP(t testing.TB, buf *bytes.Buffer, querySource string) []super.Value {
77 sctx := super.NewContext()
78 readers := []sio.Reader{bsupio.NewReader(sctx, buf)}
79 defer sio.CloseReaders(readers)
80 return RunQuery(t, sctx, readers, querySource, func(_ demand.Demand) {})
81}
82
83func RunQueryCSUP(t testing.TB, buf *bytes.Buffer, querySource string) []super.Value {
84 sctx := super.NewContext()

Callers 1

FuzzQueryFunction · 0.92

Calls 4

NewContextFunction · 0.92
NewReaderFunction · 0.92
CloseReadersFunction · 0.92
RunQueryFunction · 0.85

Tested by 1

FuzzQueryFunction · 0.74