Skip to content

Commit

Permalink
[bigquery] Remove dead code (#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 18, 2024
1 parent 0d9b908 commit 2853e30
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions clients/bigquery/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"fmt"
"strings"

"cloud.google.com/go/bigquery"

"github.com/artie-labs/transfer/clients/shared"
"github.com/artie-labs/transfer/lib/config/constants"
"github.com/artie-labs/transfer/lib/destination/types"
Expand All @@ -16,20 +14,6 @@ import (
"github.com/artie-labs/transfer/lib/typing/columns"
)

type Row struct {
data map[string]bigquery.Value
}

func NewRow(data map[string]bigquery.Value) *Row {
return &Row{
data: data,
}
}

func (r *Row) Save() (map[string]bigquery.Value, string, error) {
return r.data, bigquery.NoDedupeID, nil
}

func (s *Store) Merge(tableData *optimization.TableData) error {
var additionalEqualityStrings []string
if tableData.TopicConfig().BigQueryPartitionSettings != nil {
Expand Down

0 comments on commit 2853e30

Please sign in to comment.