<?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>question Re: Submit query via the Impala api service on the CDP gateway page in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Submit-query-via-the-Impala-api-service-on-the-CDP-gateway/m-p/401972#M251368</link>
    <description>&lt;P&gt;Hi, I have not tested it may be you can try something like this and see if that works.&lt;/P&gt;&lt;P&gt;curl -X POST &lt;SPAN class="hljs-string"&gt;"&lt;A href="https://cdp.company.com/gateway/cdp-proxy-api/Impala/api/v1/query" target="_blank"&gt;https://cdp.company.com/gateway/cdp-proxy-api/Impala/api/v1/query&lt;/A&gt;"&lt;/SPAN&gt; \ -H &lt;SPAN class="hljs-string"&gt;"Authorization: Bearer YOUR_ACCESS_TOKEN"&lt;/SPAN&gt; \ -H &lt;SPAN class="hljs-string"&gt;"Content-Type: application/json"&lt;/SPAN&gt; \ -d &lt;SPAN class="hljs-string"&gt;'{ "query": "SELECT * FROM sales_data WHERE date &amp;gt;= current_date - interval 7 days;", "database": "analytics_db", "async": false }'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;Cloudera&amp;nbsp;API overview:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://docs.cloudera.com/cdp-public-cloud/cloud/api/topics/mc-api-overview.html?utm_source=chatgpt.com" target="_blank"&gt;https://docs.cloudera.com/cdp-public-cloud/cloud/api/topics/mc-api-overview.html?utm_source=chatgpt.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;Regards,&lt;/P&gt;&lt;P class="p1"&gt;Chethan YM&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 13:42:53 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2025-02-13T13:42:53Z</dc:date>
    <item>
      <title>Submit query via the Impala api service on the CDP gateway page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Submit-query-via-the-Impala-api-service-on-the-CDP-gateway/m-p/398201#M250132</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;On the CDP gateway page a number of API services are listed among which Impala. The endpoint has the format &lt;A href="https://host:port/gateway/cdp-proxy-api/Impala" target="_blank"&gt;https://host:port/gateway/cdp-proxy-api/Impala&lt;/A&gt;. My question is can this endpoint be used to submit actual queries? And, if yes, is there any documentation available?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 17:29:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Submit-query-via-the-Impala-api-service-on-the-CDP-gateway/m-p/398201#M250132</guid>
      <dc:creator>ST1</dc:creator>
      <dc:date>2024-11-28T17:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Submit query via the Impala api service on the CDP gateway page</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Submit-query-via-the-Impala-api-service-on-the-CDP-gateway/m-p/401972#M251368</link>
      <description>&lt;P&gt;Hi, I have not tested it may be you can try something like this and see if that works.&lt;/P&gt;&lt;P&gt;curl -X POST &lt;SPAN class="hljs-string"&gt;"&lt;A href="https://cdp.company.com/gateway/cdp-proxy-api/Impala/api/v1/query" target="_blank"&gt;https://cdp.company.com/gateway/cdp-proxy-api/Impala/api/v1/query&lt;/A&gt;"&lt;/SPAN&gt; \ -H &lt;SPAN class="hljs-string"&gt;"Authorization: Bearer YOUR_ACCESS_TOKEN"&lt;/SPAN&gt; \ -H &lt;SPAN class="hljs-string"&gt;"Content-Type: application/json"&lt;/SPAN&gt; \ -d &lt;SPAN class="hljs-string"&gt;'{ "query": "SELECT * FROM sales_data WHERE date &amp;gt;= current_date - interval 7 days;", "database": "analytics_db", "async": false }'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;STRONG&gt;Cloudera&amp;nbsp;API overview:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://docs.cloudera.com/cdp-public-cloud/cloud/api/topics/mc-api-overview.html?utm_source=chatgpt.com" target="_blank"&gt;https://docs.cloudera.com/cdp-public-cloud/cloud/api/topics/mc-api-overview.html?utm_source=chatgpt.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;Regards,&lt;/P&gt;&lt;P class="p1"&gt;Chethan YM&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:42:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Submit-query-via-the-Impala-api-service-on-the-CDP-gateway/m-p/401972#M251368</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2025-02-13T13:42:53Z</dc:date>
    </item>
  </channel>
</rss>

