mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #1634 from kuba--/core-649
[CORE-649]: Add support for timestamps in pg writer
This commit is contained in:
commit
5013204b6d
1 changed files with 2 additions and 0 deletions
|
|
@ -367,6 +367,8 @@ func pgWriteRowser(w pg.QueryResultWriter, result pb.ToRowser) error {
|
|||
case *pb.ColumnResponse_Uint64ArrayVal:
|
||||
data, _ := json.Marshal(col.Uint64ArrayVal.Vals)
|
||||
v = string(data)
|
||||
case *pb.ColumnResponse_TimestampVal:
|
||||
v = col.TimestampVal
|
||||
default:
|
||||
return errors.Errorf("unable to process value of type %T", col)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue