Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 45e405b

Browse files
author
Fletcher Haynes
committed
Fixed some import issues resulting from syncing the private repo
1 parent e14cde7 commit 45e405b

38 files changed

+238
-84
lines changed

api.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
"time"
2424

2525
"github.com/featurebasedb/featurebase/v3/disco"
26-
"github.com/featurebasedb/featurebase/v3/ingest"
2726
"github.com/featurebasedb/featurebase/v3/rbf"
2827

2928
//"github.com/featurebasedb/featurebase/v3/pg"

batch/batch.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Copyright 2022 Molecula Corp. (DBA FeatureBase).
2-
// SPDX-License-Identifier: Apache-2.0
3-
package client
1+
// Package batch provides tooling to prepare batches of records for ingest.
2+
package batch
43

54
import (
65
"bytes"
@@ -11,8 +10,9 @@ import (
1110
"time"
1211

1312
featurebase "github.com/featurebasedb/featurebase/v3"
14-
"github.com/featurebasedb/featurebase/v3/client/egpool"
13+
"github.com/featurebasedb/featurebase/v3/batch/egpool"
1514
"github.com/featurebasedb/featurebase/v3/logger"
15+
"github.com/featurebasedb/featurebase/v3/pql"
1616
"github.com/featurebasedb/featurebase/v3/roaring"
1717
"github.com/pkg/errors"
1818
)
@@ -716,7 +716,7 @@ func (b *Batch) Add(rec Row) error {
716716
return nil
717717
}
718718

719-
// ErrBatchNowFull — similar to io.EOF — is a marker error to notify the user of
719+
// ErrBatchNowFull — similar to io.EOF — is a marker error to notify the user of
720720
// a batch that it is time to call Import.
721721
var ErrBatchNowFull = errors.New("batch is now full - you cannot add any more records (though the one you just added was accepted)")
722722

batch/batch_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"testing"
1111
"time"
1212

13-
featurebase "github.com/molecula/featurebase/v3"
14-
"github.com/molecula/featurebase/v3/client"
15-
"github.com/molecula/featurebase/v3/pql"
13+
featurebase "github.com/featurebasedb/featurebase/v3"
14+
"github.com/featurebasedb/featurebase/v3/client"
15+
"github.com/featurebasedb/featurebase/v3/pql"
1616
"github.com/stretchr/testify/assert"
1717

1818
"github.com/pkg/errors"

batch/convert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package batch
33
import (
44
"time"
55

6-
featurebase "github.com/molecula/featurebase/v3"
7-
"github.com/molecula/featurebase/v3/errors"
6+
featurebase "github.com/featurebasedb/featurebase/v3"
7+
"github.com/featurebasedb/featurebase/v3/errors"
88
)
99

1010
var (

batch/egpool/egpool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"errors"
77
"testing"
88

9-
"github.com/featurebasedb/featurebase/v3/client/egpool"
9+
"github.com/featurebasedb/featurebase/v3/batch/egpool"
1010
)
1111

1212
func TestEGPool(t *testing.T) {

batch/importer.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"time"
66

77
"github.com/golang/protobuf/proto" //nolint:staticcheck
8-
featurebase "github.com/molecula/featurebase/v3"
9-
featurebaseproto "github.com/molecula/featurebase/v3/encoding/proto"
10-
"github.com/molecula/featurebase/v3/pb"
11-
"github.com/molecula/featurebase/v3/roaring"
8+
featurebase "github.com/featurebasedb/featurebase/v3"
9+
featurebaseproto "github.com/featurebasedb/featurebase/v3/encoding/proto"
10+
"github.com/featurebasedb/featurebase/v3/pb"
11+
"github.com/featurebasedb/featurebase/v3/roaring"
1212
"github.com/pkg/errors"
1313
)
1414

batch/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Copyright 2022 Molecula Corp. (DBA FeatureBase).
22
// SPDX-License-Identifier: Apache-2.0
3-
package client
3+
package batch
44

55
const (
66
// MetricBatchImportDurationSeconds records the full time of the

client/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package client
33
import (
44
"context"
55

6-
featurebase "github.com/molecula/featurebase/v3"
7-
"github.com/molecula/featurebase/v3/errors"
6+
featurebase "github.com/featurebasedb/featurebase/v3"
7+
"github.com/featurebasedb/featurebase/v3/errors"
88
)
99

1010
var _ featurebase.SchemaAPI = &schemaAPI{}

client/importer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"time"
66

7-
featurebase "github.com/molecula/featurebase/v3"
8-
"github.com/molecula/featurebase/v3/roaring"
7+
featurebase "github.com/featurebasedb/featurebase/v3"
8+
"github.com/featurebasedb/featurebase/v3/roaring"
99
"github.com/pkg/errors"
1010
)
1111

cluster.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"time"
1010

1111
"github.com/featurebasedb/featurebase/v3/disco"
12-
"github.com/featurebasedb/featurebase/v3/ingest"
1312
"github.com/featurebasedb/featurebase/v3/logger"
1413
"github.com/featurebasedb/featurebase/v3/roaring"
1514
"github.com/pkg/errors"

0 commit comments

Comments
 (0)