Azure Cosmos DB Adapter Limitations

This operation uses DocumentDB API of Azure Cosmos DB. For more details on API specifications, refer to the following page.

Supported Types

Correspondence of the JSON types of Azure Cosmos DB supported by this adapter and the internal data types (schema types) is as follows.

Azure Cosmos DB data type nameSupportSchema type nameRemarks
stringYesString 
numberYesBigDecimal 
true/falseYesboolean 
nullYes-Treated as null regardless of the schema type.
objectNo-
arrayNo-

Precision of number Type

Number type in Azure Cosmos DB is IEEE754 double precision.

Special Item Names

“_rid”, “_ts”, “_self”, “_etag”, “_attachments”, etc. are the items generated by Azure Cosmos DB for a document. You cannot write arbitrary value for these items.

As name of item generated by Azure Cosmos DB starts with an underscore (_), it is recommended to set item names for schema such that there is no underscore at the start of the names.

For more details on items generated by Azure Cosmos DB system, refer to the following pages.

Consistency

In Azure Cosmos DB adapter, among the 5 types of consistency ("Strong", "Bounded-Staleness", "Session", "Consistent Prefix", "Eventual"), "Session" is used.

For more details on consistency of Azure Cosmos DB, refer to the following page.