Explorar o código

update results to valid value

Signed-off-by: Sean Holcomb <seanholcomb@gmail.com>
Sean Holcomb %!s(int64=2) %!d(string=hai) anos
pai
achega
cdea9ddbc9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      pkg/cloud/aws/athenaquerier.go

+ 1 - 2
pkg/cloud/aws/athenaquerier.go

@@ -126,10 +126,9 @@ func (aq *AthenaQuerier) queryAthenaPaginated(ctx context.Context, query string,
 	if err != nil {
 		return fmt.Errorf("QueryAthenaPaginated: query execution error: %s", err.Error())
 	}
-	var maxResults int32 = 10000
 	queryResultsInput := &athena.GetQueryResultsInput{
 		QueryExecutionId: startQueryExecutionOutput.QueryExecutionId,
-		MaxResults:       &maxResults,
+		MaxResults:       aws.Int32(1000),
 	}
 	getQueryResultsPaginator := athena.NewGetQueryResultsPaginator(cli, queryResultsInput)
 	for getQueryResultsPaginator.HasMorePages() {