3.0.6
3.0.6.2
New Features
-
Added the arrayVectorToColumns parameter to
Session.run, and the array_vector_to_columns parameter toDBConnection.execandDBConnection.call. When a query returns a table, array vector columns in the table can be expanded into multiple regular columns, with the number of columns determined by the length of each array.
Improvements
-
Improved the download and conversion performance of array vector columns.
Bug Fixes
-
Fixed the following resubscription issues:
-
Retries after an initial subscription failure ignored the resubscribeInterval setting and used the default interval.
-
When backupSites was configured, the client waited for resubscribeInterval to elapse before switching to a backup node.
-
When no backup node was available, after receiving
NotLeader, the client did not follow the leader address returned by the server for redirection.
-
-
Fixed the following issues in high availability mode:
-
The same node was retried multiple times within a single reconnection cycle.
-
When usePublicName=True, high availability connection would fail and
MultithreadedTableWritercreation would reconnect indefinitely if the client could not resolve a node's publicName.
-
-
Fixed an issue where stream subscription establishment, resubscription, unsubscription, and server version checks could block indefinitely when a node accepted TCP connections but did not respond to requests, such as when the node was shutting down or had not completed initialization.
3.0.6.1
New Features
-
Added support for Python 3.14 (with-GIL).
-
Added the timeout and netTimeout/net_timeout parameters (supporting datetime.timedelta) to
Session.connectandDBConnection.connectto configure the timeout for waiting for server responses, as well as network timeouts for TCP connection establishment, data writing, and keep-alive checks, respectively. The legacy readTimeout and writeTimeout parameters are retained for backward compatibility. -
Added the usePublicName parameter to
Session.connectto support connecting via the node's publicName in cluster environments.
Improvements
-
Added sequence numbers to script and function requests in high availability mode or when auto-reconnect is enabled, enabling the server to distinguish between initial and retry requests.
-
Optimized the failover process: removed the redundant 1-second delay after successfully connecting to a candidate node.
Bug Fixes
-
Fixed an issue where disconnection during
runanduploadcould cause failover to an incorrect node, and reconnection logs were missing after a successful reconnect. -
Fixed an issue where high-availability connections failed to continue attempting node failover when the cluster returned
<UnknownLeader>. -
Fixed the node matching and
<NotLeader>redirection issues when usePublicName was enabled in high availability connections.
Compatibility Notes
-
The default value of keepAliveTime in
Sessionis changed from 30 seconds to unspecified. When unspecified, the global default network timeout (currently 3 seconds) is applied. -
Session.setTimeoutnow sets the global default network timeout (net_timeout), rather than mapping to the Linux TCP_USER_TIMEOUT.
3.0.6.0
New Features
-
Added support for uploading
pyarrow.Tableobjects via the PROTOCOL_ARROW protocol. -
Added support for pandas 3.0.
Improvements
- Adjusted the log level for initialization-related messages (e.g.,
isNodeInitialized) from WARN to INFO.
