File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,9 +197,9 @@ func (r *Rows) fetchNextPage(token *string) error {
197
197
// https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-data-type-mapping.html
198
198
func convertRow (columns []redshiftdatatypes.ColumnMetadata , data []redshiftdatatypes.Field , ret []driver.Value ) error {
199
199
for i , curr := range data {
200
- // FIXME: I think this is the correct translation of the existing behavior but I'm not
201
- // sure it's actually the correct behavior
202
- if isNull , ok := curr .(* redshiftdatatypes.FieldMemberIsNull ); ok {
200
+ // FIXME: I think this is the correct translation of the previous aws-sdk-v1 behavior
201
+ // but I'm not sure it's actually the correct behavior
202
+ if isNull , ok := curr .(* redshiftdatatypes.FieldMemberIsNull ); ok && isNull . Value {
203
203
if isNull .Value {
204
204
ret [i ] = nil
205
205
}
You can’t perform that action at this time.
0 commit comments