MCPcopy Create free account
hub / github.com/apecloud/myduckserver / TestTpcdsQueryPlans

Function TestTpcdsQueryPlans

main_test.go:768–780  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

766 Query: `select "data" from auctions order by "ai" desc;`,
767 Expected: []sql.Row{{"data"}},
768 },
769 {
770 Query: "SET @@sql_mode='ANSI_QUOTES';",
771 Expected: []sql.Row{{types.OkResult{}}},
772 },
773 {
774 Query: `select "data" from auctions order by "ai" desc;`,
775 Expected: []sql.Row{{"forty-two"}},
776 },
777 {
778 Query: "SET @@sql_mode='NO_ENGINE_SUBSTITUTION';",
779 Expected: []sql.Row{{types.OkResult{}}},
780 },
781 {
782 Query: `select "data" from auctions order by "ai" desc;`,
783 Expected: []sql.Row{{"data"}},

Callers

nothing calls this directly

Calls 2

NewDuckHarnessFunction · 0.85
RunMethod · 0.45

Tested by

no test coverage detected