thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Geyer <jensge...@hotmail.com>
Subject AW: 回复:AW: Datetime data type in Thrift?
Date Fri, 23 Aug 2013 06:56:49 GMT
String may involve conversion and parsing.
________________________________
Von: nosql-菜鸟
Gesendet: 23.08.2013 08:31
An: user; user
Betreff: 回复:AW: Datetime data type in Thrift?

you can use string or i32.  string is better.




------------------ 原始邮件 ------------------
发件人: "Jens Geyer";
发送时间: 2013年8月23日(星期五) 凌晨1:59
收件人: "user";
主题: AW: Datetime data type in Thrift?



No, the recommendation is to use double or i64. The biggest challenge is to find consensus
on the timestamp base. Especially across platforms.

Btw, all available data types can be found on the website at thrift.apache.org

Protobuf: dont know.
________________________________
Von: Andrew Pennebaker
Gesendet: 22.08.2013 18:51
An: Thrift Users
Betreff: Datetime data type in Thrift?

Could there be a Thrift data type for datetimes? Integrating different
datetime formats across systems can be really helpful.

If not, do Protocol Buffers have a datetime data type?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message