dependabot[bot] opened a new pull request, #3399: URL: https://github.com/apache/camel-kamelets/pull/3399
Bumps [com.databricks:databricks-jdbc](https://github.com/databricks/databricks-jdbc) from 3.4.5 to 3.4.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/databricks/databricks-jdbc/releases">com.databricks:databricks-jdbc's releases</a>.</em></p> <blockquote> <h2>v3.4.6</h2> <h3>Added</h3> <ul> <li><code>ResultSet.getObject(column, Class)</code> now supports the JDBC 4.2 <code>java.time</code> types: <code>LocalDate</code> and <code>LocalDateTime</code> for DATE, TIMESTAMP and TIMESTAMP_NTZ columns, and <code>Instant</code> and <code>OffsetDateTime</code> (UTC offset) for TIMESTAMP columns. With Arrow results (the default), these values are read straight from the server's epoch values, so BC and pre-1582 dates and timestamps are returned exactly. Previously, <code>Instant</code>, <code>LocalDateTime</code> and <code>OffsetDateTime</code> requests returned a <code>String</code>, and <code>LocalDate</code> went through <code>java.sql.Date</code> (for example, <code>DATE '1582-10-05'</code> came back as 1582-10-15). String columns holding ISO date or timestamp text are parsed too, as JDBC 4.2 allows. Requests that have no meaningful answer, such as <code>Instant</code> from a TIMESTAMP_NTZ or DATE column, or a <code>java.time</code> class on a numeric column, now throw an < code>SQLException</code> with <code>UNSUPPORTED_OPERATION</code>. <code>getDate</code>, <code>getTimestamp</code>, <code>getString</code> and <code>getObject(column)</code> are unchanged. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>DATE, TIMESTAMP and TIMESTAMP_NTZ values nested in ARRAY and STRUCT can now be read exactly as <code>java.time</code> types through a type map, e.g. <code>array.getArray(Map.of("DATE", LocalDate.class))</code>, <code>array.getResultSet(Map.of("DATE", LocalDate.class))</code> or <code>struct.getAttributes(Map.of("TIMESTAMP", Instant.class))</code>, or through <code>array.getResultSet().getObject(2, LocalDate.class)</code>. As for top-level columns, nested TIMESTAMP values are session-local for <code>LocalDate</code> and <code>LocalDateTime</code>. <code>getArray()</code> and <code>getAttributes()</code> still return <code>java.sql</code> values. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Added the connection property <code>EnableStrictGetObjectConversion</code>. When set to <code>1</code>, <code>ResultSet.getObject(column, Class)</code> on query results throws a <code>SQLException</code> if the type is <code>null</code> or the value cannot be returned as an instance of the type (for example <code>UUID</code> on a <code>STRING</code> column, or <code>Calendar</code> on a <code>TIMESTAMP</code> column), as the JDBC specification requires. The default (<code>0</code>) is unchanged: such values are returned as a <code>String</code> (a <code>Timestamp</code> for <code>Calendar</code>). <code>DatabaseMetaData</code> result sets always use the default. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1782">#1782</a>)</li> </ul> <h3>Updated</h3> <ul> <li><strong>Behavior change:</strong> <code>WITH ... INSERT/UPDATE/DELETE/MERGE</code> statements are now treated as updates: <code>executeUpdate()</code> and <code>executeLargeUpdate()</code> return the affected-row count instead of throwing after the write. <code>execute()</code> now returns <code>false</code>, and <code>executeQuery()</code> throws <code>RESULT_SET_ERROR</code> after the statement has run. To keep receiving the affected-row ResultSet, set <code>NonRowcountQueryPrefixes=WITH</code>. Prefixes match the start of the statement, so <code>NonRowcountQueryPrefixes=INSERT</code> alone does not opt out for a statement beginning with <code>WITH</code>.</li> <li>The driver now recognizes backslash-escaped quotes, raw string literals, and backslash-continued line comments when it determines a statement's type and finds <code>?</code> placeholders.</li> <li>Updated JSON-java to 20260814 to address CVE-2026-59171.</li> <li><strong>Changed default:</strong> <code>UseBoundedSeaApi</code> now defaults to <code>1</code> on warehouses and all-purpose clusters. Set <code>UseBoundedSeaApi=0</code> to disable it.</li> <li>Reduced CPU for typed <code>ResultSet</code> getters such as <code>getInt</code> and <code>getString</code>.</li> <li>Reduced CPU when reading Arrow results. Narrow primitive columns (for example a single <code>BOOLEAN</code> or <code>DOUBLE</code> column) take several times less CPU per row, and <code>ResultSet.next()</code> takes about 40% less.</li> <li>Reduced <code>getConnection()</code> latency for apps that open connections one at a time or after idle periods: a new connection to the same host reuses server settings fetched in the last 15 minutes.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed numeric getters returning shifted values for BC and pre-1582 dates: <code>getLong</code>, <code>getInt</code> and <code>getShort</code> (and <code>getObject(column, Long/Integer/Short/BigInteger)</code>) on DATE columns, and <code>getLong</code> (and <code>getObject(column, Long/BigInteger)</code>) on TIMESTAMP columns. For example, <code>DATE '1582-10-05'</code> returned epoch day -141427 instead of -141437. Values after the 1582 Gregorian cutover are unchanged. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Fixed reading ARRAY, STRUCT and MAP values that contain a TIMESTAMP_NTZ with zero seconds (for example <code>2023-10-05 15:20:00</code>), which failed with <code>Invalid TIMESTAMP_NTZ array representation</code>. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Error messages and logs no longer include Thrift session and operation handle secrets.</li> <li>Reduced lock contention when many threads read compressed inline results.</li> <li>Fixed connection opens and other telemetry-emitting calls stalling for tens of seconds while another connection to the same host closed and its final telemetry flush was slow. <code>Connection.close()</code> also no longer waits indefinitely for that final flush: <code>TelemetrySocketTimeout</code> now also caps each final telemetry flush on close (authenticated and unauthenticated telemetry flush separately), including time queued behind other telemetry pushes and retries. After that many seconds the remaining telemetry batch is dropped (a value of <code>0</code> keeps the unbounded wait). (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1442">#1442</a>)</li> <li>Fixed connection setup stalling under concurrency: setting up a connection no longer blocks connections to other hosts.</li> <li>Reduced connection setup time by caching OAuth and host discovery responses for up to an hour.</li> <li>Reduced heap usage when reading large CloudFetch results: chunks are now streamed from the HTTP response through decompression into Arrow instead of first being buffered on-heap. When Arrow uses off-heap memory, this cuts peak heap by about 40% and GC pause time by about half, so large results fit in smaller heaps.</li> <li>Fixed CloudFetch rows being silently skipped when a chunk failed to parse and its retried download then succeeded: the chunk stayed in a failed state and its rows were not returned.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/databricks/databricks-jdbc/blob/main/CHANGELOG.md">com.databricks:databricks-jdbc's changelog</a>.</em></p> <blockquote> <h2>[v3.4.6] - 2026-11-23</h2> <h3>Added</h3> <ul> <li><code>ResultSet.getObject(column, Class)</code> now supports the JDBC 4.2 <code>java.time</code> types: <code>LocalDate</code> and <code>LocalDateTime</code> for DATE, TIMESTAMP and TIMESTAMP_NTZ columns, and <code>Instant</code> and <code>OffsetDateTime</code> (UTC offset) for TIMESTAMP columns. With Arrow results (the default), these values are read straight from the server's epoch values, so BC and pre-1582 dates and timestamps are returned exactly. Previously, <code>Instant</code>, <code>LocalDateTime</code> and <code>OffsetDateTime</code> requests returned a <code>String</code>, and <code>LocalDate</code> went through <code>java.sql.Date</code> (for example, <code>DATE '1582-10-05'</code> came back as 1582-10-15). String columns holding ISO date or timestamp text are parsed too, as JDBC 4.2 allows. Requests that have no meaningful answer, such as <code>Instant</code> from a TIMESTAMP_NTZ or DATE column, or a <code>java.time</code> class on a numeric column, now throw an < code>SQLException</code> with <code>UNSUPPORTED_OPERATION</code>. <code>getDate</code>, <code>getTimestamp</code>, <code>getString</code> and <code>getObject(column)</code> are unchanged. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>DATE, TIMESTAMP and TIMESTAMP_NTZ values nested in ARRAY and STRUCT can now be read exactly as <code>java.time</code> types through a type map, e.g. <code>array.getArray(Map.of("DATE", LocalDate.class))</code>, <code>array.getResultSet(Map.of("DATE", LocalDate.class))</code> or <code>struct.getAttributes(Map.of("TIMESTAMP", Instant.class))</code>, or through <code>array.getResultSet().getObject(2, LocalDate.class)</code>. As for top-level columns, nested TIMESTAMP values are session-local for <code>LocalDate</code> and <code>LocalDateTime</code>. <code>getArray()</code> and <code>getAttributes()</code> still return <code>java.sql</code> values. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Added the connection property <code>EnableStrictGetObjectConversion</code>. When set to <code>1</code>, <code>ResultSet.getObject(column, Class)</code> on query results throws a <code>SQLException</code> if the type is <code>null</code> or the value cannot be returned as an instance of the type (for example <code>UUID</code> on a <code>STRING</code> column, or <code>Calendar</code> on a <code>TIMESTAMP</code> column), as the JDBC specification requires. The default (<code>0</code>) is unchanged: such values are returned as a <code>String</code> (a <code>Timestamp</code> for <code>Calendar</code>). <code>DatabaseMetaData</code> result sets always use the default. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1782">#1782</a>)</li> </ul> <h3>Updated</h3> <ul> <li><strong>Behavior change:</strong> <code>WITH ... INSERT/UPDATE/DELETE/MERGE</code> statements are now treated as updates: <code>executeUpdate()</code> and <code>executeLargeUpdate()</code> return the affected-row count instead of throwing after the write. <code>execute()</code> now returns <code>false</code>, and <code>executeQuery()</code> throws <code>RESULT_SET_ERROR</code> after the statement has run. To keep receiving the affected-row ResultSet, set <code>NonRowcountQueryPrefixes=WITH</code>. Prefixes match the start of the statement, so <code>NonRowcountQueryPrefixes=INSERT</code> alone does not opt out for a statement beginning with <code>WITH</code>.</li> <li>The driver now recognizes backslash-escaped quotes, raw string literals, and backslash-continued line comments when it determines a statement's type and finds <code>?</code> placeholders.</li> <li>Updated JSON-java to 20260814 to address CVE-2026-59171.</li> <li><strong>Changed default:</strong> <code>UseBoundedSeaApi</code> now defaults to <code>1</code> on warehouses and all-purpose clusters. Set <code>UseBoundedSeaApi=0</code> to disable it.</li> <li>Reduced CPU for typed <code>ResultSet</code> getters such as <code>getInt</code> and <code>getString</code>.</li> <li>Reduced CPU when reading Arrow results. Narrow primitive columns (for example a single <code>BOOLEAN</code> or <code>DOUBLE</code> column) take several times less CPU per row, and <code>ResultSet.next()</code> takes about 40% less.</li> <li>Reduced <code>getConnection()</code> latency for apps that open connections one at a time or after idle periods: a new connection to the same host reuses server settings fetched in the last 15 minutes.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed numeric getters returning shifted values for BC and pre-1582 dates: <code>getLong</code>, <code>getInt</code> and <code>getShort</code> (and <code>getObject(column, Long/Integer/Short/BigInteger)</code>) on DATE columns, and <code>getLong</code> (and <code>getObject(column, Long/BigInteger)</code>) on TIMESTAMP columns. For example, <code>DATE '1582-10-05'</code> returned epoch day -141427 instead of -141437. Values after the 1582 Gregorian cutover are unchanged. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Fixed reading ARRAY, STRUCT and MAP values that contain a TIMESTAMP_NTZ with zero seconds (for example <code>2023-10-05 15:20:00</code>), which failed with <code>Invalid TIMESTAMP_NTZ array representation</code>. (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1779">#1779</a>)</li> <li>Error messages and logs no longer include Thrift session and operation handle secrets.</li> <li>Reduced lock contention when many threads read compressed inline results.</li> <li>Fixed connection opens and other telemetry-emitting calls stalling for tens of seconds while another connection to the same host closed and its final telemetry flush was slow. <code>Connection.close()</code> also no longer waits indefinitely for that final flush: <code>TelemetrySocketTimeout</code> now also caps each final telemetry flush on close (authenticated and unauthenticated telemetry flush separately), including time queued behind other telemetry pushes and retries. After that many seconds the remaining telemetry batch is dropped (a value of <code>0</code> keeps the unbounded wait). (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1442">#1442</a>)</li> <li>Fixed connection setup stalling under concurrency: setting up a connection no longer blocks connections to other hosts.</li> <li>Reduced connection setup time by caching OAuth and host discovery responses for up to an hour.</li> <li>Reduced heap usage when reading large CloudFetch results: chunks are now streamed from the HTTP response through decompression into Arrow instead of first being buffered on-heap. When Arrow uses off-heap memory, this cuts peak heap by about 40% and GC pause time by about half, so large results fit in smaller heaps.</li> <li>Fixed CloudFetch rows being silently skipped when a chunk failed to parse and its retried download then succeeded: the chunk stayed in a failed state and its rows were not returned.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/databricks/databricks-jdbc/commit/0ad7a49282dbf24e9c2db254b1225c0577fde8ae"><code>0ad7a49</code></a> Prepare JDBC 3.4.6 release (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1836">#1836</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/840f3a407be1dc002c0ddf852143727f1f3b0157"><code>840f3a4</code></a> Default UseBoundedSeaApi to 1 independently of server flag (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1827">#1827</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/97dac8da3ed350c9e4774f6982eb03fc988fb6e7"><code>97dac8d</code></a> Spec: JDBC: All-Purpose Cluster (APC) support over SEA (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1809">#1809</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/5d2d5c5ffe53bfa3b11db35186579f7d1e9ae69d"><code>5d2d5c5</code></a> chore(ci): update bot engine review models (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1816">#1816</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/d5bdaa3b427b07d2e1857f1166a0e754f16eea80"><code>d5bdaa3</code></a> ci(bot): enable distillation and cross-review (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1815">#1815</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/7a95254c42237a21614081b0b0088e031802cefd"><code>7a95254</code></a> Cut ResultSet.next() CPU per row on Arrow results (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1811">#1811</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/5799f1f6e1223385287a556a187c6c8d961584f5"><code>5799f1f</code></a> fix: classify CTE-prefixed DML as updates (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1813">#1813</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/860ba479d466c64facf74b4492a590540af3f6c0"><code>860ba47</code></a> [6/7] Add native batch integration coverage (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1633">#1633</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/1b581253f0316daf47b8f1f6641e138c8c6c8056"><code>1b58125</code></a> [5/7] Implement native SEA parameter batching (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1632">#1632</a>)</li> <li><a href="https://github.com/databricks/databricks-jdbc/commit/4a784fac9acd86a5b0dca0e3158961466d020208"><code>4a784fa</code></a> [4/7] Implement native Thrift parameter batching (<a href="https://redirect.github.com/databricks/databricks-jdbc/issues/1625">#1625</a>)</li> <li>Additional commits viewable in <a href="https://github.com/databricks/databricks-jdbc/compare/v3.4.5...v3.4.6">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
