github Azure/azure-sdk-for-java azure-cosmos-spark_3-4_2-12_4.21.0

latest releases: azure-ai-formrecognizer_4.1.12, azure-resourcemanager-cosmos_2.44.1, spring-cloud-azure_5.18.0...
15 months ago

4.21.0 (2023-08-09)

Features Added

  • Spark 3.4 support: - See PR 35176.
  • Added a new configuration setting spark.cosmos.write.bulk.initialBatchSize to allow specifying the initial micro batch size for bulk operations. The batch size will be tuned automatically based on the throttling rate afterwards - by default it starts initially with 100 documents per batch. This can lead to exceeding the requested throughput when using throughput control in the first few seconds of a Spark job. This usually isn't a problem - but if there is the desire to avoid this, reducing the initial micro batch size - for example setting it to 1 - would avoid the initial spike in RU/s usage. - See PR 36068
  • Added new strategy ItemBulkUpdate to allow patch with more than 10 columns - See PR 35977

Bugs Fixed

  • Fixed schema reference issue for empty array - See PR 35746

Other Changes

NOTE: See CHANGELOG.md in 3.1, 3.2 and 3.3 projects for changes prior to 4.21.0

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.