Skip to content

Commit e484510

Browse files
committed
Format updates
1 parent 0171ee7 commit e484510

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

articles/cosmos-db/table-api-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: sngun
1212

1313
The Azure Cosmos DB Table API is available in the [Azure portal](https://portal.azure.com) First you must sign up for an Azure subscription. After you've signed up, you can add an Azure Cosmos DB Table API account to your Azure subscription, and then add tables to your account. You can find the supported languages and associated quick-starts in the [Introduction to Azure Cosmos DB Table API](table-introduction.md).
1414

15-
## Table API in Azure Cosmos DB Vs Azure Table storage
15+
## <a id="table-api-vs-table-storage"></a>Table API in Azure Cosmos DB Vs Azure Table storage
1616

1717
### Where is Table API not identical with Azure Table storage behavior?
1818

articles/cosmos-db/table-storage-design-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Here are some general guidelines for designing Table storage queries. The filter
208208
`$filter=PartitionKey eq 'Sales' and LastName eq 'Smith'`.
209209
* A *table scan* doesn't include the `PartitionKey`, and is inefficient because it searches all of the partitions that make up your table for any matching entities. It performs a table scan regardless of whether or not your filter uses the `RowKey`. For example:
210210
`$filter=LastName eq 'Jones'`.
211-
* Azure Table storage queries that return multiple entities sort them in `PartitionKey` and `RowKey` order. To avoid resorting the entities in the client, choose a `RowKey` that defines the most common sort order. Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table storage](faq.md#where-is-table-api-not-identical-with-azure-table-storage-behavior).
211+
* Azure Table storage queries that return multiple entities sort them in `PartitionKey` and `RowKey` order. To avoid resorting the entities in the client, choose a `RowKey` that defines the most common sort order. Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table storage](table-api-faq.md#table-api-vs-table-storage).
212212

213213
Using an "**or**" to specify a filter based on `RowKey` values results in a partition scan, and isn't treated as a range query. Therefore, avoid queries that use filters such as:
214214
`$filter=PartitionKey eq 'Sales' and (RowKey eq '121' or RowKey eq '322')`.
@@ -251,7 +251,7 @@ Many designs must meet requirements to enable lookup of entities based on multip
251251
Table storage returns query results sorted in ascending order, based on `PartitionKey` and then by `RowKey`.
252252

253253
> [!NOTE]
254-
> Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table storage](faq.md#where-is-table-api-not-identical-with-azure-table-storage-behavior).
254+
> Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table storage](table-api-faq.md#table-api-vs-table-storage).
255255
256256
Keys in Table storage are string values. To ensure that numeric values sort correctly, you should convert them to a fixed length, and pad them with zeroes. For example, if the employee ID value you use as the `RowKey` is an integer value, you should convert employee ID **123** to **00000123**.
257257

@@ -738,7 +738,7 @@ The following patterns and guidance might also be relevant when implementing thi
738738
Retrieve the *n* entities most recently added to a partition by using a `RowKey` value that sorts in reverse date and time order.
739739

740740
> [!NOTE]
741-
> Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. Thus, while this pattern is suitable for Table storage, it isn't suitable for Azure Cosmos DB. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table Storage](faq.md#where-is-table-api-not-identical-with-azure-table-storage-behavior).
741+
> Query results returned by the Azure Table API in Azure Cosmos DB aren't sorted by partition key or row key. Thus, while this pattern is suitable for Table storage, it isn't suitable for Azure Cosmos DB. For a detailed list of feature differences, see [differences between Table API in Azure Cosmos DB and Azure Table Storage](table-api-faq.md#table-api-vs-table-storage).
742742
743743
#### Context and problem
744744
A common requirement is to be able to retrieve the most recently created entities, for example the ten most recent expense claims submitted by an employee. Table queries support a `$top` query operation to return the first *n* entities from a set. There's no equivalent query operation to return the last *n* entities in a set.

articles/cosmos-db/table-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ At this time, the [Azure Cosmos DB Table API](table-introduction.md) has four SD
2929
* [Node.js SDK](table-sdk-nodejs.md): This Azure Storage SDK has the ability to connect to Azure Cosmos DB accounts using the Table API.
3030

3131

32-
Additional information about working with the Table API is available in the [FAQ: Develop with the Table API](faq.md#table) article.
32+
Additional information about working with the Table API is available in the [FAQ: Develop with the Table API](table-api-faq.md) article.
3333

3434
## Developing with Azure Table storage
3535

includes/storage-table-cosmos-db-tip-include.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ ms.date: 10/26/2018
66
ms.author: tamram
77
---
88
> [!TIP]
9-
> The content in this article applies to the original Azure Table storage. However, there is now a premium offering for table storage: the Azure Cosmos DB Table API. This API offers throughput-optimized tables, global distribution, and automatic secondary indexes. There are some [feature differences between Table API in Azure Cosmos DB and Azure table storage](../articles/cosmos-db/faq.md#where-is-table-api-not-identical-with-azure-table-storage-behavior). For more information, and to try out the premium experience, see [Azure Cosmos DB Table API](https://aka.ms/premiumtables).
9+
> The content in this article applies to the original Azure Table storage. However, there is now a premium offering for table storage: the Azure Cosmos DB Table API. This API offers throughput-optimized tables, global distribution, and automatic secondary indexes. There are some [feature differences between Table API in Azure Cosmos DB and Azure table storage](../articles/cosmos-db/table-api-faq.md#table-api-vs-table-storage). For more information, and to try out the premium experience, see [Azure Cosmos DB Table API](https://aka.ms/premiumtables).
1010
>

0 commit comments

Comments
 (0)