Skip to content

s3v2 seems to ignore input cfgs, using just defaults #43

@shlomi-dr

Description

@shlomi-dr

Trying to use the new s3v2 apis, I started getting error messages that "I did not specify regions", though I did. Debugging lead me to the following, where the cfgs defined on line 71 are silently ignored by the body:

func NewS3FileWriter(
ctx context.Context,
bucket string,
key string,
uploaderOptions []func(*manager.Uploader),
cfgs ...*aws.Config,
) (source.ParquetFile, error) {
return NewS3FileWriterWithClient(
ctx,
s3.NewFromConfig(getConfig()),
bucket,
key,
uploaderOptions,
)
}

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions