Next in thread → Next in month →

[OASIS Issue Tracker] (ODATA-919) Specify the result type for each operation based on operator types

From
OASIS Issues Tracker <>
Date
2016-11-30T03:44:46+00:00
ID
Thread
[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)
Next in thread → Next in month →