This topic has come up before, see THRIFT-839. i64 is the best type to use for timestamps in ms, and I agree with previous sentiments that there is no need to add datetime complexity.
That said, we are always open to debating any technical issues and welcome new patches that will help improve Apache Thrift -Jake On Fri, Aug 23, 2013 at 5:00 PM, Will Pierce <[email protected]> wrote: > A better approach might be to add this as a contributed .thrift file for > the contrib/ directory, with associated per-language library files. > > The wire format certainly would need to be timezone invariant (like > epochtime) and probably less limited than epochtime (dates before Jan 1, > 1970 have been known to happen). > > As a subdirectory in contrib/, it would be a convenient and safe place to > stomp out the > platform/timezone/precision/dependency/language-nativetype-mapping bugs. > If it goes well, it would certainly be useful for functionality and as an > example. > > Just my $0.02. >
