CData Python Connector for Azure Cosmos DB

Build 24.0.9060

Changelog

General Changes

DateBuild
Number
Change
Type
Description
06/05/20248922PythonAdded
  • Added support for Python 3.12.
05/09/20248895GeneralChanged
  • The ROUND function previously did not accept negative precision values. That feature has now been restored.
04/08/20248864Azure Cosmos DBAdded
  • Added the RequestPriorityLevel connection property. This property manages request priority, especially during 429 errors. Setting it to 'high' prioritizes all requests over those with a low priority.
03/15/20248840GeneralAdded
  • Created a new SQL function called STRING_COMPARE that provides java's String.compare() ability to SQL queries. Returns a number representative of the compared value of two strings
11/29/20238733GeneralChanged
  • The ROUND function doesn't accept the negative precision values anymore.

Changed
  • The returning types of the FDMonth, FDQuarter, FDWeek, LDMonth, LDQuarter, LDWeek functions are changed from Timestamp to Date.
  • The return type of the ABS function will be consistent with the parameter value type.
11/28/20238732GeneralAdded
  • Added the HMACSHA256 formatter to allow for secrets to be decoded if it is in base64 format
08/29/20238641PythonAdded
  • Added support for SQLAlchemy 2.0.
06/27/20238578Azure Cosmos DBAdded
  • Added AzureServicePrincipalCert as a separate AuthScheme to be used for Azure Service Principal authentication with a Certificate.
06/20/20238571GeneralAdded
  • Added the new sys_lastresultinfo system table.
05/19/20238539PythonAdded
  • Added support for Python 3.11 on Windows, Linux and Mac.
05/16/20238536PythonRemoved
  • Removed support for Python 3.7 on Windows and Linux
04/25/20238515GeneralRemoved
  • Removed support for the SELECT INTO CSV statement. The core code doesn't support it anymore.
12/14/20228383GeneralChanged
  • Added the Default column to the sys_procedureparameters table.
11/15/20228354PythonChanged
  • Updated embedded JRE to jre8u345-b01(Linux x64 / MacOS x64) and jre-17.0.5+8(MacOS aarch64).
09/30/20228308GeneralChanged
  • Added the IsPath column to the sys_procedureparameters table.
09/23/20228301Azure Cosmos DBAdded
  • Added the FileStream input for the CreateSchema stored procedure. It streams the contents of the created schema if no FileName is set.
08/19/20228266Azure Cosmos DBAdded
  • Added the FileData output for the CreateSchema stored procedure. It pushes the generated schema encoded in Base64 only if the FileName input is not set.
07/26/20228242Azure Cosmos DBChanged
  • Changed provider name to Azure Cosmos DB.
05/18/20228173PythonAdded
  • Added support for Python 3.10 on Windows, Linux, and Mac
  • Added support for Python 3.9 on Mac
  • Added support for Mac M1

Removed
  • Removed support for Python 3.6 on Windows and Linux
01/14/20228049Azure Cosmos DBAdded
  • Added support for the AzureAD and AzureServicePrincipal authentication methods.
12/14/20218018Azure Cosmos DBAdded
  • Added the new connection property UseRidAsPK. Since CosmosDB allows you to use both _rid and id fields as unique values for retrieving resource data, you can set this property to false to switch using the id column as primary key instead the default _rid.
12/07/20218011Azure Cosmos DBAdded
  • Added support for the 'RawValue' TypeDetectionScheme. Setting the TypeDetectionScheme to 'RawValue' will push each document as a single aggregate on a column named JsonData, along with its resource identifier on the separate Primary Key column.
10/10/20217953Azure Cosmos DBAdded
  • Added support for Batch Insert, Update and Delete operations.
  • Added support to dynamically control the number of parallel batch CUD requests to prevent exceeding the limit Max Requests Units Per Second, which can be configured via the MaxWriteThroughput connection property.
09/02/20217915GeneralAdded
  • Added support for the STRING_SPLIT table-valued function in the CROSS APPLY clause.
08/07/20217889GeneralChanged
  • Added the KeySeq column to the sys_foreignkeys table.
08/06/20217888GeneralChanged
  • Added the new sys_primarykeys system table.
07/23/20217874GeneralChanged
  • Updated the Literal Function Names for relative date/datetime functions. Previously, relative date/datetime functions resolved to a different value when used in the projection as opposed to the predicate. For example: SELECT LAST_MONTH() AS lm, Col FROM Table WHERE Col > LAST_MONTH(). Formerly, the two LAST_MONTH() methods would resolve to different datetimes. Now, they will match.
  • As a replacement for the previous behavior, the relative date/datetime functions in the criteria may have an 'L' appended to them. For example: WHERE col > L_LAST_MONTH(). This will continue to resolve to the same values that were previously calculated in the criteria. Note that the "L_" prefix will only work in the predicate - it not available for the projection.
06/14/20217835Azure Cosmos DBAdded
  • Added the SetPartitionKeyAsPK connection property, which controls whether or not to use the collection's Partition Key field as part of a composite Primary Key for the corresponding exposed table.
04/25/20217785GeneralAdded
  • Added support for handling client side formulas during insert / update. For example: UPDATE Table SET Col1 = CONCAT(Col1, " - ", Col2) WHERE Col2 LIKE 'A%'
04/23/20217783GeneralChanged
  • Updated how display sizes are determined for varchar primary key and foreign key columns so they will match the reported length of the column.
04/16/20217776GeneralAdded
  • Non-conditional updates between two columns is now available to all drivers. For example: UPDATE Table SET Col1=Col2
04/16/20217776GeneralChanged
  • Reduced the length to 255 for varchar primary key and foreign key columns.

Changed
  • Updated index naming convention to avoid duplicates.
04/16/20217776GeneralChanged
  • Updated implicit and metadata caching to improve performance and support for multiple connections. Old metadata caches are not compatible - you need to generate new metadata caches if you are currently using CacheMetadata.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060