Skip to content

Commit 173baaf

Browse files
committed
Fix api changes
Signed-off-by: Antonio Jesus Navarro Perez <[email protected]>
1 parent 55f8c32 commit 173baaf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: internal/rule/squashjoins_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -2531,3 +2531,7 @@ type dummyLookup struct {
25312531
func (dummyLookup) Values() (sql.IndexValueIter, error) {
25322532
panic("dummyLookup Values is a placeholder")
25332533
}
2534+
2535+
func (l dummyLookup) Indexes() []string {
2536+
return []string{fmt.Sprintf("index_%d", l.n)}
2537+
}

Diff for: squash_iterator_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -1010,3 +1010,7 @@ type lookup struct {
10101010
func (l lookup) Values() (sql.IndexValueIter, error) {
10111011
return l.values, nil
10121012
}
1013+
1014+
func (l lookup) Indexes() []string {
1015+
return []string{"test_idx"}
1016+
}

0 commit comments

Comments
 (0)