<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1 in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/99736#M4597</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;After an initial test with a moderate number of rows, we believed it to be the optimal solution.&lt;/P&gt;&lt;P&gt;However, upon increasing the row count beyond a million, we realized the dataset is divided into chunks of unclear size. Sometimes chunks are created with 25k rows, while other times with 20k rows.&lt;/P&gt;&lt;P&gt;Would it be possible to provide a guide on the parameters that can be used to manage chunk sizes effectively?&lt;/P&gt;&lt;P&gt;How I said, here we can't find anything:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/_extras/documents/databricks-jdbc-driver-install-and-configuration-guide.pdf" target="_new" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;Databricks&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;JDBC&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Driver&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Installation&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Configuration&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Guide&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2024 08:14:51 GMT</pubDate>
    <dc:creator>cotrariello</dc:creator>
    <dc:date>2024-11-22T08:14:51Z</dc:date>
    <item>
      <title>Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98782#M4571</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with insert operations on Databricks using the JDBC driver. In my &lt;STRONG&gt;SAS Viya&lt;/STRONG&gt; system, the &lt;STRONG&gt;DatabricksJDBC42.jar&lt;/STRONG&gt; driver version 2.6.40 is configured. I’ve noticed that, up to Databricks Runtime version 13.1, insert operations are performed in bulk. However, starting from Runtime version 14.1, these insert operations are executed row by row, leading to a significant slowdown in performance.&lt;/P&gt;&lt;P&gt;I also noticed that with version 13, a log line is displayed (highlighted in yellow in the image on the right), while in version 14 there is no such log entry. Could there be a correlation? Could this difference be relevant?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cotrariello_3-1731582128580.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12894i003161EDEC806EB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cotrariello_3-1731582128580.png" alt="cotrariello_3-1731582128580.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cotrariello_2-1731582087923.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/12893i7FCB8C82F22A0A80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cotrariello_2-1731582087923.png" alt="cotrariello_2-1731582087923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anyone else encountered this issue or have any suggestions on how to resolve it? Any advice would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 11:02:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98782#M4571</guid>
      <dc:creator>cotrariello</dc:creator>
      <dc:date>2024-11-14T11:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98825#M4572</link>
      <description>&lt;P&gt;As per the information I can see internally is that the JDBC connection is not intended to support batch runs and there is actually a feature request open to have this capability working in the near future, does the cluster in 13.1 does no have any additional set up or spark config that can be causing this different behavior?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 15:57:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98825#M4572</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-11-14T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98830#M4573</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the clarification. However, I’d like to emphasize that before version 14.1, specifically in version 13.1, insert operations were indeed performed in bulk. By "bulk operations," I mean that multiple SQL statements were executed within a single insert command, as shown in the examples below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Version 14.1:&lt;/STRONG&gt;&lt;BR /&gt;`INFO SparkExecuteStatementOperation: Submitting query 'INSERT INTO TEST_20241113 (ID, Age, Amt) VALUES (?, ?, ?)'`&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Version 13.1:&lt;/STRONG&gt;&lt;BR /&gt;`INSERT INTO vltn_gold.TEST_20241113 (ID, Age, Amt) VALUES (1.0, 25.0, 40000.0), (2.0, 30.0, 45000.0)`&lt;/P&gt;&lt;P&gt;As you can see, in version 13.1, multiple rows were inserted in a single statement, whereas in version 14.1, each row is inserted individually.&lt;/P&gt;&lt;P&gt;The Spark settings and cluster setup (aside from the different runtime versions) are identical on both clusters, so there’s no additional configuration or setup difference that could be causing this change in behavior.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 16:27:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98830#M4573</guid>
      <dc:creator>cotrariello</dc:creator>
      <dc:date>2024-11-14T16:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98977#M4576</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Were you using parameterized queries? I think its native support starts from version 14.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See if this can mitigate the issue by&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="c-mrkdwn__code" data-stringify-type="code"&gt;EnableNativeParameterizedQuery=0&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 16:57:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/98977#M4576</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-11-15T16:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/99085#M4581</link>
      <description>&lt;P&gt;Dear &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your time and patience.&lt;/P&gt;&lt;P&gt;Using the suggested parameter in the JDBC URL, the insert behavior has returned to normal, and everything works perfectly. However, I have not been able to find any references to this parameter in the official documentation. I have reviewed the &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/_extras/documents/databricks-jdbc-driver-install-and-configuration-guide.pdf" target="_new" rel="noopener"&gt;&lt;SPAN&gt;Databricks&lt;/SPAN&gt;&lt;SPAN&gt; JDBC&lt;/SPAN&gt;&lt;SPAN&gt; Driver&lt;/SPAN&gt;&lt;SPAN&gt; Installation&lt;/SPAN&gt;&lt;SPAN&gt; and&lt;/SPAN&gt;&lt;SPAN&gt; Configuration&lt;/SPAN&gt;&lt;SPAN&gt; Guide&lt;/SPAN&gt;&lt;/A&gt; but couldn’t locate any mention of it.&lt;/P&gt;&lt;P&gt;Could you please indicate where I can find information about this parameter?&lt;/P&gt;&lt;P&gt;Thank you once again for your help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Carmine&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 08:53:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/99085#M4581</guid>
      <dc:creator>cotrariello</dc:creator>
      <dc:date>2024-11-18T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/99736#M4597</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;After an initial test with a moderate number of rows, we believed it to be the optimal solution.&lt;/P&gt;&lt;P&gt;However, upon increasing the row count beyond a million, we realized the dataset is divided into chunks of unclear size. Sometimes chunks are created with 25k rows, while other times with 20k rows.&lt;/P&gt;&lt;P&gt;Would it be possible to provide a guide on the parameters that can be used to manage chunk sizes effectively?&lt;/P&gt;&lt;P&gt;How I said, here we can't find anything:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/_extras/documents/databricks-jdbc-driver-install-and-configuration-guide.pdf" target="_new" rel="noopener nofollow noreferrer"&gt;&lt;SPAN&gt;Databricks&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;JDBC&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Driver&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Installation&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Configuration&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Guide&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 08:14:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/99736#M4597</guid>
      <dc:creator>cotrariello</dc:creator>
      <dc:date>2024-11-22T08:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119476#M10039</link>
      <description>&lt;P&gt;Hello everyone! I'm getting this same issue with DBR 16.4 and Databricks JDBC OSS 1.0.5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/integrations/jdbc-oss" target="_blank"&gt;https://docs.databricks.com/aws/en/integrations/jdbc-oss&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is there any config param that I can use to be able to get multiple rows inserts instead of this row by row behavior?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 14:02:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119476#M10039</guid>
      <dc:creator>JoseSoto</dc:creator>
      <dc:date>2025-05-16T14:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119478#M10040</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/88823"&gt;@Walter_C&lt;/a&gt;&amp;nbsp;this is the format of the JDBC connection I'm using if it helps:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;jdbc:databricks://&lt;/SPAN&gt;host&lt;SPAN&gt;:443;HttpPath=&lt;/SPAN&gt;path&lt;SPAN&gt;;ConnCatalog=catalog&lt;/SPAN&gt;&lt;SPAN&gt;;ConnSchema=schema&lt;/SPAN&gt;&lt;SPAN&gt;;SSL=1;AuthMech=3;UID=token;SocketTimeout=0;EnableArrow=1;UseThriftClient=0&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;We are using Serverless SQL Warehouse to perform the writes&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 May 2025 14:05:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119478#M10040</guid>
      <dc:creator>JoseSoto</dc:creator>
      <dc:date>2025-05-16T14:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119486#M10041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/150845"&gt;@JoseSoto&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;did you try the param&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;EnableNativeParameterizedQuery=0 in the connection string?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:01:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119486#M10041</guid>
      <dc:creator>cotrariello</dc:creator>
      <dc:date>2025-05-16T15:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119494#M10042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/132395"&gt;@cotrariello&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;I tried that, but that parameter is not available in the new Databricks JDBC OSS driver. Unfortunately, we can't use the Simba JDBC driver. This is the one we are using:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/integrations/jdbc-oss" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/integrations/jdbc-oss&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 15:24:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/119494#M10042</guid>
      <dc:creator>JoseSoto</dc:creator>
      <dc:date>2025-05-16T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/128555#M10534</link>
      <description>&lt;P&gt;I've implemented a fix for this in the Databricks JDBC OSS driver and am looking to get it merged:&amp;nbsp;&lt;A href="https://github.com/databricks/databricks-jdbc/pull/943" target="_blank"&gt;https://github.com/databricks/databricks-jdbc/pull/943&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 16:52:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/128555#M10534</guid>
      <dc:creator>JoseSoto</dc:creator>
      <dc:date>2025-08-15T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Non-Bulk Inserts Using JDBC on Databricks Runtime 14.1</title>
      <link>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/130295#M10635</link>
      <description>&lt;P&gt;The PR looks closed for now, any news on this? Also, I was wondering if there's a code snippet available on using this functionality&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 02:01:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/issue-with-non-bulk-inserts-using-jdbc-on-databricks-runtime-14/m-p/130295#M10635</guid>
      <dc:creator>akreit</dc:creator>
      <dc:date>2025-09-01T02:01:23Z</dc:date>
    </item>
  </channel>
</rss>

