Gets a schema for the specified CosmosDB collection.
Gets a schema for the specified CosmosDB collection. It is required that the collection provides Documents.
Utilizes the $sample
aggregation operator in server versions 3.2+. Older versions take a sample of the most recent 10k documents.
the CosmosDB to be sampled
the schema for the collection
Gets a schema for the specified CosmosDB collection.
Gets a schema for the specified CosmosDB collection. It is required that the collection provides Documents.
Utilizes the $sample
aggregation operator in server versions 3.2+. Older versions take a sample of the most recent 10k documents.
the spark context
the schema for the collection