File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ $startQueryResult = $athena->startQueryExecution(new StartQueryExecutionInput([
5555 'Database' => 'production_db', // REQUIRED
5656 ]),
5757 'ResultConfiguration' => new ResultConfiguration([
58- 'OutputLocation' => 's3://output_bucket_Location ', // REQUIRED
58+ 'OutputLocation' => 's3://test_output_bucket ', // REQUIRED
5959 'EncryptionConfiguration' => new EncryptionConfiguration([
60- 'EncryptionOption' => 'SSE_S3', // REQUIRED SSE_S3|SSE_KMS|CSE_KMS
60+ 'EncryptionOption' => 'SSE_S3', // REQUIRED
6161 ])
6262 ]),
6363]));
@@ -92,7 +92,7 @@ $results = $athena->getQueryResults(new GetQueryResultsInput([
9292/** @var Row $row */
9393foreach ($results => $row) {
9494 if ($index === 0) {
95- $columnLabels = array_column($row->getData(), 'VarCharValue'); // $row->getData() return [ 'VarCharValue' => value]
95+ $columnLabels = array_column($row->getData(), 'VarCharValue'); // $row->getData() return [ 'VarCharValue' => value, ... ]
9696 }
9797 $columnValues[] = array_column($row->getData(), 'VarCharValue');
9898}
Original file line number Diff line number Diff line change 551551 <code >uuid_create(\UUID_TYPE_RANDOM)</code >
552552 </UndefinedFunction >
553553 </file >
554+ <file src =" src/Service/Athena/src/Result/GetQueryResultsOutput.php" >
555+ <InvalidReturnType occurrences =" 1" >
556+ <code >\Traversable< Row> </code >
557+ </InvalidReturnType >
558+ <PossiblyNullReference occurrences =" 1" >
559+ <code >getRows</code >
560+ </PossiblyNullReference >
561+ </file >
554562</files >
You can’t perform that action at this time.
0 commit comments