Skip to content

Commit

Permalink
verify this is the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 14, 2024
1 parent ec22980 commit 256430d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flow/model/qvalue/avro_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ func NewQValueAvroConverter(value QValue, targetDWH QDWHType, nullable bool) *QV
}

func (c *QValueAvroConverter) ToAvroValue() (interface{}, error) {
if c.Value.Kind == QValueKindQChar {
return "0", nil
}
if c.Nullable && c.Value.Value == nil {
return nil, nil
}
Expand Down

0 comments on commit 256430d

Please sign in to comment.