<?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 Unable to capture the Query result via JDBC client execution in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/78542#M9035</link>
    <description>&lt;DIV&gt;As shown in below screenshots MERGE INTO command produces information about the result (num_affected_rows, num_updated_rows, num_deleted_rows, num_inserted_rows).&lt;/DIV&gt;&lt;DIV&gt;Unable to get this information when the same query is being executed via JDBC client. Is there a way to read this information via the JDBC client ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Using below databricks maven&amp;nbsp;dependency&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;dependency&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;groupId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;com.databricks&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;groupId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;artifactId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;databricks-jdbc&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;artifactId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;2.6.36&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/dependency&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.30.19 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9528iAB9A08D1C139C8D1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.30.19 AM.png" alt="Screenshot 2024-06-26 at 1.30.19 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.36.10 AM (1).png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9530i3A57FB8B6C2C4FB8/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.36.10 AM (1).png" alt="Screenshot 2024-06-26 at 1.36.10 AM (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Only The Affected rows information can be obtained as shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.45.23 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9529iE29A2786A5A6293C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.45.23 AM.png" alt="Screenshot 2024-06-26 at 1.45.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 12 Jul 2024 14:07:58 GMT</pubDate>
    <dc:creator>inagar</dc:creator>
    <dc:date>2024-07-12T14:07:58Z</dc:date>
    <item>
      <title>Unable to capture the Query result via JDBC client execution</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/78542#M9035</link>
      <description>&lt;DIV&gt;As shown in below screenshots MERGE INTO command produces information about the result (num_affected_rows, num_updated_rows, num_deleted_rows, num_inserted_rows).&lt;/DIV&gt;&lt;DIV&gt;Unable to get this information when the same query is being executed via JDBC client. Is there a way to read this information via the JDBC client ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Using below databricks maven&amp;nbsp;dependency&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;dependency&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;groupId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;com.databricks&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;groupId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;artifactId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;databricks-jdbc&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;artifactId&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;2.6.36&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;version&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/dependency&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.30.19 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9528iAB9A08D1C139C8D1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.30.19 AM.png" alt="Screenshot 2024-06-26 at 1.30.19 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.36.10 AM (1).png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9530i3A57FB8B6C2C4FB8/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.36.10 AM (1).png" alt="Screenshot 2024-06-26 at 1.36.10 AM (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Only The Affected rows information can be obtained as shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-06-26 at 1.45.23 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/9529iE29A2786A5A6293C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-06-26 at 1.45.23 AM.png" alt="Screenshot 2024-06-26 at 1.45.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jul 2024 14:07:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/78542#M9035</guid>
      <dc:creator>inagar</dc:creator>
      <dc:date>2024-07-12T14:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture the Query result via JDBC client execution</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/79420#M9037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/111936"&gt;@inagar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to our community! We're here to help you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To ensure we provide you with the best support, could you please take a moment to review the response and choose the one that best answers your question? Your feedback not only helps us assist you better but also benefits other community members who may have similar questions in the future.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you found the answer helpful, consider giving it a kudo. If the response fully addresses your question, please mark it as the accepted solution. This will help us close the thread and ensure your question is resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We appreciate your participation and are here to assist you further if you need it!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rishabh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 12:50:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/79420#M9037</guid>
      <dc:creator>RishabhTiwari07</dc:creator>
      <dc:date>2024-07-19T12:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to capture the Query result via JDBC client execution</title>
      <link>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/103839#M9038</link>
      <description>&lt;P&gt;Delta API can help you get these details.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reference -&amp;nbsp;&lt;A href="https://docs.databricks.com/en/delta/history.html#history-schema" target="_blank"&gt;https://docs.databricks.com/en/delta/history.html#history-schema&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 19:06:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/unable-to-capture-the-query-result-via-jdbc-client-execution/m-p/103839#M9038</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-01-01T19:06:42Z</dc:date>
    </item>
  </channel>
</rss>

