OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (ODATA-256) Simplify numeric data types


    [ http://tools.oasis-open.org/issues/browse/ODATA-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32452#action_32452 ] 

Michael Pizzo commented on ODATA-256:
-------------------------------------

Evan's list pretty closely matches what we currently have in OData, which is encouraging. Note that we used to be slightly closer (we recently got rid of "float", but have its synonym "single").  The only one missing is an integer larger than int64. 

Is such a large integer required? Do we have examples where services need to store values that large? Are a sufficient number of clients prepared for such large values?

If so, I would propose we add an Edm.HugeInt (or some such). If we don't have requirements for such a type at this point, and examples of clients prepared to support them, I would propose we keep the primitive types as-is and consider adding larger int (and perhaps decimal) values in the future as required.

> Simplify numeric data types
> ---------------------------
>
>                 Key: ODATA-256
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-256
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL v1.0
>    Affects Versions: WD01
>            Reporter: Ralf Handl
>             Fix For: WD01
>
>
> Computer history has provided us with a growing number of numeric data types, and quite a few of them are reflected in Edm primitive types.
> Integer types:
> - Byte (0..2^8)
> - SByte
> - Int16
> - Int32
> - Int64
> - Decimal Scale=0
> Fixed-point types
> - Decimal --> not sure yet if this is fixed or floating point, see ODATA-76
> Floating-point types
> - Decimal --> not sure yet if this is fixed or floating point, see ODATA-76
> - Single
> - Double
> Missing numeric types
> - Quadruple == binary128
> - DECFLOAT in various lengths

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]