Skip to content

Commit a470672

Browse files
fix(redshift): missing condition
1 parent 6e72d92 commit a470672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/clients/redshiftClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export class DefaultRedshiftClient {
189189
throw new Error(
190190
`Failed to run query: '${queryToExecute}': '${describeStatementResponse.Error}'`
191191
)
192-
} else if (status === 'FINISHED') {
192+
} else if (status === 'FINISHED' && !describeStatementResponse.HasResultSet) {
193193
return undefined
194194
}
195195
break

0 commit comments

Comments
 (0)