Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion plugins/destination/bigquery/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type Client struct {
logger zerolog.Logger
spec specs.Destination
metrics plugins.DestinationMetrics
batchSize int
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see only initialization of this field.
Where is the propagation to the write?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pluginSpec Spec
}

Expand All @@ -37,7 +38,7 @@ func New(ctx context.Context, logger zerolog.Logger, destSpec specs.Destination)
}

c.pluginSpec = spec

c.batchSize = spec.BatchSize
// create a client to test that we can do it, but new clients will also be instantiated
// for queries so that we can use a new context there.
client, err := c.bqClient(ctx)
Expand Down