<?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 REST api to execute SQL query and read output in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/rest-api-to-execute-sql-query-and-read-output/m-p/21952#M14997</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using these two APIs to execute SQL statements and read output back when it's finished. &lt;/P&gt;&lt;P&gt;However, seems it always returns only 1000 rows even though I need all the results (millions of rows), is there a solution for this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;execute SQL: &lt;A href="https://docs.databricks.com/dev-tools/api/1.2/index.html#run-a-command" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/1.2/index.html#run-a-command&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;read output: &lt;A href="https://docs.databricks.com/dev-tools/api/1.2/index.html#get-information-about-a-command" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/1.2/index.html#get-information-about-a-command&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 06:25:17 GMT</pubDate>
    <dc:creator>shawncao</dc:creator>
    <dc:date>2022-04-28T06:25:17Z</dc:date>
    <item>
      <title>REST api to execute SQL query and read output</title>
      <link>https://community.databricks.com/t5/data-engineering/rest-api-to-execute-sql-query-and-read-output/m-p/21952#M14997</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using these two APIs to execute SQL statements and read output back when it's finished. &lt;/P&gt;&lt;P&gt;However, seems it always returns only 1000 rows even though I need all the results (millions of rows), is there a solution for this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;execute SQL: &lt;A href="https://docs.databricks.com/dev-tools/api/1.2/index.html#run-a-command" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/1.2/index.html#run-a-command&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;read output: &lt;A href="https://docs.databricks.com/dev-tools/api/1.2/index.html#get-information-about-a-command" target="test_blank"&gt;https://docs.databricks.com/dev-tools/api/1.2/index.html#get-information-about-a-command&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 06:25:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/rest-api-to-execute-sql-query-and-read-output/m-p/21952#M14997</guid>
      <dc:creator>shawncao</dc:creator>
      <dc:date>2022-04-28T06:25:17Z</dc:date>
    </item>
  </channel>
</rss>

