Skip to content

Commit

Permalink
Merge bf5252c into 97e5899
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillDanshin committed Jan 10, 2019
2 parents 97e5899 + bf5252c commit a23781c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dataparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io"
"reflect"
"strconv"
"strings"
"time"
)

Expand Down Expand Up @@ -432,6 +433,9 @@ func newDataParser(t *TypeDesc, unquote bool) (DataParser, error) {
}
return &tupleParser{subParsers}, nil
default:
if strings.Contains(t.Name, "Decimal") {
return &stringParser{unquote: unquote}, nil
}
return nil, fmt.Errorf("type %s is not supported", t.Name)
}
}

0 comments on commit a23781c

Please sign in to comment.