You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ivo Timmermans (JIRA)" <ji...@apache.org> on 2010/08/06 11:22:17 UTC
[jira] Created: (THRIFT-839) Add datetime datatype to protocol
Add datetime datatype to protocol
---------------------------------
Key: THRIFT-839
URL: https://issues.apache.org/jira/browse/THRIFT-839
Project: Thrift
Issue Type: Wish
Reporter: Ivo Timmermans
Priority: Minor
While it's easy to include a custom date/time type in a struct, I expected it to be present in the protocol, and be mapped to the appropriate native type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-839) Add datetime datatype to protocol
Posted by "Justin Florentine (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896028#action_12896028 ]
Justin Florentine commented on THRIFT-839:
------------------------------------------
AS3 has no i64 type, so millis since epoch doesn't work.
> Add datetime datatype to protocol
> ---------------------------------
>
> Key: THRIFT-839
> URL: https://issues.apache.org/jira/browse/THRIFT-839
> Project: Thrift
> Issue Type: Wish
> Reporter: Ivo Timmermans
> Priority: Minor
>
> While it's easy to include a custom date/time type in a struct, I expected it to be present in the protocol, and be mapped to the appropriate native type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-839) Add datetime datatype to protocol
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896069#action_12896069 ]
Bryan Duxbury commented on THRIFT-839:
--------------------------------------
I agree that we shouldn't create a datetime type, since the implementations could end up being very different and complex amongst all the languages.
If AS3 doesn't have an i64 type, how do you transmit i64s? If you don't need milli precision, you can use an i32 and make it seconds since epoch.
> Add datetime datatype to protocol
> ---------------------------------
>
> Key: THRIFT-839
> URL: https://issues.apache.org/jira/browse/THRIFT-839
> Project: Thrift
> Issue Type: Wish
> Reporter: Ivo Timmermans
> Priority: Minor
>
> While it's easy to include a custom date/time type in a struct, I expected it to be present in the protocol, and be mapped to the appropriate native type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (THRIFT-839) Add datetime datatype to protocol
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-839.
--------------------------------
Resolution: Won't Fix
> Add datetime datatype to protocol
> ---------------------------------
>
> Key: THRIFT-839
> URL: https://issues.apache.org/jira/browse/THRIFT-839
> Project: Thrift
> Issue Type: Wish
> Reporter: Ivo Timmermans
> Priority: Minor
>
> While it's easy to include a custom date/time type in a struct, I expected it to be present in the protocol, and be mapped to the appropriate native type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-839) Add datetime datatype to protocol
Posted by "Mathias Herberts (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896015#action_12896015 ]
Mathias Herberts commented on THRIFT-839:
-----------------------------------------
-1
Thrift has i64 which allow timestamps in ms to be stored/transmitted, no need to add datetime complexity.
> Add datetime datatype to protocol
> ---------------------------------
>
> Key: THRIFT-839
> URL: https://issues.apache.org/jira/browse/THRIFT-839
> Project: Thrift
> Issue Type: Wish
> Reporter: Ivo Timmermans
> Priority: Minor
>
> While it's easy to include a custom date/time type in a struct, I expected it to be present in the protocol, and be mapped to the appropriate native type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.