Skip to content

Commit 0d10c59

Browse files
committed
Merge remote-tracking branch 'origin/prepare-standard' into OData-Data-Agg-v4.0/oasis-standard
2 parents d468009 + 29d3541 commit 0d10c59

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

docs/odata-data-aggregation-ext/odata-data-aggregation-ext.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ <h3 id="311-type-structure-and-context-url"><a id="TypeStructureandContextURL" h
16231623
<li>Single- or collection-valued primitive properties addressed by a property path starting at a non-transient entity MUST keep their values from the addressed resource path collection throughout the transformation sequence. Likewise, single- or collection-valued navigation property paths starting at a non-transient entity MUST keep addressing the same non-transient entities as in the addressed resource path collection.</li>
16241624
<li>Instances in an output set need not have all declared or dynamic properties that occurred in the input set.</li>
16251625
<li>Instances in an output set can have dynamic properties that did not occur in the input set. The name for such a dynamic property is called an <em>alias</em>, it is a simple identifier (see <a href="https://docs.oasis-open.org/odata/odata-csdl-json/v4.02/odata-csdl-json-v4.02.html#SimpleIdentifier">OData-CSDL, section 15.2</a>). Aliases MUST differ from names of declared properties in the input type, from names of properties in the first input set, and from names of properties in the current input set. Aliases in one collection MUST also differ from each other.</li>
1626-
<li>Instances in an output set can have applicable control information <a href="https://docs.oasis-open.org/odata/odata-json-format/v4.02/odata-json-format-v4.02.html#ControlInformation">OData-JSON, section 4.6</a>.</li>
1626+
<li>Instances in an output set that have all key properties of an entity also have the metadata associated with that entity, such as entity-id, read and edit URL (defined in <a href="https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part1-protocol.html#ServiceModel">OData-Protocol, section 4</a>) and ETag (defined in <a href="https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part1-protocol.html#UseofETagsforAvoidingUpdateConflicts">OData-Protocol, section 11.4.1.1</a>).</li>
16271627
</ul>
16281628
<p>Here is an overview of the structural changes made by different transformations:</p>
16291629
<ul>
@@ -1953,7 +1953,6 @@ <h4 id="3231-simple-grouping"><a id="SimpleGrouping" href="#SimpleGrouping">3.2.
19531953
</ul></li>
19541954
<li>Return <span class="math inline">\(u\)</span>.</li>
19551955
</ol>
1956-
<p>Instances in the output set of <span class="math inline">\(\Pi_G(s)\)</span> that contain the key of an entity MAY retain that entity’s applicable control information <a href="https://docs.oasis-open.org/odata/odata-json-format/v4.02/odata-json-format-v4.02.html#ControlInformation">OData-JSON, section 4.6</a>.</p>
19571956
<div class="example">
19581957
<p>Example 17:</p>
19591958
<pre><code>GET /service/Sales?$apply=groupby((Customer/Country,Product/Name),

docs/odata-data-aggregation-ext/odata-data-aggregation-ext.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ The _structure_ of an instance that occurs in an input or output set is defined
10361036
- Single- or collection-valued primitive properties addressed by a property path starting at a non-transient entity MUST keep their values from the addressed resource path collection throughout the transformation sequence. Likewise, single- or collection-valued navigation property paths starting at a non-transient entity MUST keep addressing the same non-transient entities as in the addressed resource path collection.
10371037
- Instances in an output set need not have all declared or dynamic properties that occurred in the input set.
10381038
- Instances in an output set can have dynamic properties that did not occur in the input set. The name for such a dynamic property is called an _alias_, it is a simple identifier (see [OData-CSDL, section 15.2](https://docs.oasis-open.org/odata/odata-csdl-json/v4.02/odata-csdl-json-v4.02.html#SimpleIdentifier)). Aliases MUST differ from names of declared properties in the input type, from names of properties in the first input set, and from names of properties in the current input set. Aliases in one collection MUST also differ from each other.
1039-
- Instances in an output set can have applicable control information [OData-JSON, section 4.6](https://docs.oasis-open.org/odata/odata-json-format/v4.02/odata-json-format-v4.02.html#ControlInformation).
1039+
- Instances in an output set that have all key properties of an entity also have the metadata associated with that entity, such as entity-id, read and edit URL (defined in [OData-Protocol, section 4](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part1-protocol.html#ServiceModel)) and ETag (defined in [OData-Protocol, section 11.4.1.1](https://docs.oasis-open.org/odata/odata/v4.02/odata-v4.02-part1-protocol.html#UseofETagsforAvoidingUpdateConflicts)).
10401040

10411041
Here is an overview of the structural changes made by different transformations:
10421042
- During [aggregation](#BasicAggregation), many instances are replaced by one instance, properties that represent the aggregation level are retained, and others are replaced by dynamic properties holding the aggregate value of the many instances or a transformed copy of them.
@@ -1410,8 +1410,6 @@ The output set of the transformation $\Pi_G(s)$ is in one-to-one correspondence
14101410
- Otherwise, the behavior is undefined. (Such cases never occur when $\Pi_G(s)$ is used in this document.)
14111411
3. Return $u$.
14121412

1413-
Instances in the output set of $\Pi_G(s)$ that contain the key of an entity MAY retain that entity's applicable control information [OData-JSON, section 4.6](https://docs.oasis-open.org/odata/odata-json-format/v4.02/odata-json-format-v4.02.html#ControlInformation).
1414-
14151413
::: example
14161414
Example 17:
14171415
```

odata-data-aggregation-ext/3.1 Fundamentals of Input and Output Sets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The _structure_ of an instance that occurs in an input or output set is defined
4242
- Single- or collection-valued primitive properties addressed by a property path starting at a non-transient entity MUST keep their values from the addressed resource path collection throughout the transformation sequence. Likewise, single- or collection-valued navigation property paths starting at a non-transient entity MUST keep addressing the same non-transient entities as in the addressed resource path collection.
4343
- Instances in an output set need not have all declared or dynamic properties that occurred in the input set.
4444
- Instances in an output set can have dynamic properties that did not occur in the input set. The name for such a dynamic property is called an _alias_, it is a simple identifier (see [#OData-CSDL#SimpleIdentifier]). Aliases MUST differ from names of declared properties in the input type, from names of properties in the first input set, and from names of properties in the current input set. Aliases in one collection MUST also differ from each other.
45-
- Instances in an output set can have applicable control information [#OData-JSON#ControlInformation].
45+
- Instances in an output set that have all key properties of an entity also have the metadata associated with that entity, such as entity-id, read and edit URL (defined in [#OData-Protocol#ServiceModel]) and ETag (defined in [#OData-Protocol#UseofETagsforAvoidingUpdateConflicts]).
4646

4747
Here is an overview of the structural changes made by different transformations:
4848
- During [aggregation](#BasicAggregation), many instances are replaced by one instance, properties that represent the aggregation level are retained, and others are replaced by dynamic properties holding the aggregate value of the many instances or a transformed copy of them.

odata-data-aggregation-ext/3.2 Basic Aggregation.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ The output set of the transformation $\Pi_G(s)$ is in one-to-one correspondence
303303
- Otherwise, the behavior is undefined. (Such cases never occur when $\Pi_G(s)$ is used in this document.)
304304
3. Return $u$.
305305

306-
Instances in the output set of $\Pi_G(s)$ that contain the key of an entity MAY retain that entity's applicable control information [#OData-JSON#ControlInformation].
307-
308306
::: example
309307
Example ##ex:
310308
```

0 commit comments

Comments
 (0)