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
Next Next commit
fix copyright headers, repofmt
  • Loading branch information
andy-wm-arthur committed Dec 15, 2020
commit 64f41d9cbcb4c1a78ae4fe49432d25fd57697f11
14 changes: 14 additions & 0 deletions go/libraries/doltcore/sqle/dolt_map_iter.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2020 Dolthub, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package sqle
bheni marked this conversation as resolved.
Show resolved Hide resolved

import (
Expand Down
2 changes: 1 addition & 1 deletion go/libraries/doltcore/sqle/index_row_iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (i *indexLookupRowIterAdapter) queueRows() {
}
}

func (i *indexLookupRowIterAdapter) indexKeyToTableKey(nbf *types.NomsBinFormat, indexKey types.Tuple) (types.Value, error){
func (i *indexLookupRowIterAdapter) indexKeyToTableKey(nbf *types.NomsBinFormat, indexKey types.Tuple) (types.Value, error) {
tplItr, err := indexKey.Iterator()

if err != nil {
Expand Down
14 changes: 14 additions & 0 deletions go/store/store_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2020 Dolthub, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package store
bheni marked this conversation as resolved.
Show resolved Hide resolved

/*import (
bheni marked this conversation as resolved.
Show resolved Hide resolved
Expand Down