Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

partition ranges, covering indexes, smarter iterators #1116

Merged
merged 13 commits into from
Dec 16, 2020
Prev Previous commit
pr feedback
  • Loading branch information
Brian Hendriks committed Dec 16, 2020
commit 33111c60e3e23828fd65aea2fe18dfda5857b6ed
6 changes: 3 additions & 3 deletions go/libraries/doltcore/sqle/dolt_map_iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
"github.com/dolthub/dolt/go/store/types"
)

// KVToSqlRowConverter takes noms types.Value key value pairs and converts them directly to a sql.Row directly. It
// can be configured to only process a portion of the columns and map columens to desired output columns.
// KVToSqlRowConverter takes noms types.Value key value pairs and converts them directly to a sql.Row. It
// can be configured to only process a portion of the columns and map columns to desired output columns.
type KVToSqlRowConverter struct {
tagToSqlColIdx map[uint64]int
cols []schema.Column
Expand All @@ -36,7 +36,7 @@ type KVToSqlRowConverter struct {
rowSize int
}

// NewKVToSqlRowConverterForCols returns a KVToSqlConverter instance based on the list of rows passed in
// NewKVToSqlRowConverterForCols returns a KVToSqlConverter instance based on the list of columns passed in
func NewKVToSqlRowConverterForCols(cols []schema.Column) *KVToSqlRowConverter {
tagToSqlColIdx := make(map[uint64]int)
for i, col := range cols {
Expand Down