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] (ODATA-919) Specify the result type for each operation based on operator types


    [ https://issues.oasis-open.org/browse/ODATA-919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=64534#comment-64534 ] 

Evan Ireland commented on ODATA-919:
------------------------------------

Should we reconsider 5.1.1.2.5 Division

"The div operator divides the left numeric operand by the right numeric operand. The div operator is also valid for dividing a Duration value by a numeric value. If the right operand is zero and the left operand is neither of type Edm.Single nor Edm.Double, the request fails."

Perhaps we can redefine such "failure" to give a null result. This would avoid a need to define NaN/Infinity for non-single/double types.

> Specify the result type for each operation based on operator types
> ------------------------------------------------------------------
>
>                 Key: ODATA-919
>                 URL: https://issues.oasis-open.org/browse/ODATA-919
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData URL Conventions
>    Affects Versions: V4.0_OS
>            Reporter: Martin Zurmuehl
>            Assignee: Evan Ireland
>             Fix For: V4.01_CSD02
>
>
> See ODATA-785 for a description of the issue --> Comments Section.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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