Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions enginetest/queries/script_queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,17 @@ type ScriptTestAssertion struct {
// Unlike other engine tests, ScriptTests must be self-contained. No other tables are created outside the definition of
// the tests.
var ScriptTests = []ScriptTest{
{
Name: "keyless reverse index",
SetUpScript: []string{
"create table x (x int, key(x));",
"insert into x values (0),(1)",
},
Query: "select * from x order by x desc limit 1",
Expected: []sql.Row{
{1},
},
},
{
Name: "filter pushdown through join uppercase name",
SetUpScript: []string{
Expand Down
Loading