mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 03:17:50 +00:00
Add support for timestamps in pg writer
This commit is contained in:
parent
8f3c4705cc
commit
b218901fae
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