From adeb9249e82f690e692b6a7c437c1a4144ac2109 Mon Sep 17 00:00:00 2001 From: tom twinkle Date: Mon, 22 Jan 2024 11:26:59 +0900 Subject: [PATCH] fix: awss3 SelectCSVHeaders ignore ScanRange --- aws/awss3/awss3.go | 1 - 1 file changed, 1 deletion(-) diff --git a/aws/awss3/awss3.go b/aws/awss3/awss3.go index c64e279..41d7415 100644 --- a/aws/awss3/awss3.go +++ b/aws/awss3/awss3.go @@ -610,7 +610,6 @@ func SelectCSVHeaders(ctx context.Context, region awsconfig.Region, bucketName B QuoteEscapeCharacter: c.CSVInput.QuoteEscapeCharacter, RecordDelimiter: c.CSVInput.RecordDelimiter, })) - opts = append(opts, s3selectcsv.WithSkipByteSize(0)) var buf bytes.Buffer if err := SelectCSVAll(ctx, region, bucketName, key, SelectCSVLimit1Query, &buf, opts...); err != nil { return nil, err