<?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 Load data from Clickhouse with REST API in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-data-from-Clickhouse-with-REST-API/m-p/2525324#M3316</link>
    <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;I'm trying to load data from a clickhouse instance to Qlik, and I'm keep getting empty result&amp;nbsp;&lt;BR /&gt;0 lines fetched&lt;BR /&gt;&lt;BR /&gt;I'm using Qlik Cloud&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tested the query in curl&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;curl -X POST -u xxx:yyy "&lt;A href="https://host:port/?database=database" target="_blank" rel="noopener"&gt;https://host:port/?database=database&lt;/A&gt;" \&lt;BR /&gt;&amp;gt; -H "Content-Type: text/plain" \&lt;BR /&gt;&amp;gt; -H "Accept: application/json" \&lt;BR /&gt;&amp;gt; --data-binary "SELECT 1 AS test_value FORMAT JSON"&lt;BR /&gt;&lt;BR /&gt;I'm getting usual results&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;when configuring the REST connector I'm setting&lt;BR /&gt;the URL to https link&amp;nbsp;&lt;BR /&gt;method to POST&lt;BR /&gt;our auth&lt;BR /&gt;the query goes to the body&amp;nbsp;&lt;BR /&gt;I'm adding header parameters like Name -&amp;nbsp;Accept; Value -&amp;nbsp;text/plain etc&lt;BR /&gt;Always HTTPS is also turned on&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the connection works&amp;nbsp;&lt;BR /&gt;in the load script i have&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;LIB CONNECT TO 'clickhouse test';&lt;BR /&gt;TestSimple:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"test_value"&lt;BR /&gt;FROM JSON (wrap on) "data";&lt;BR /&gt;&lt;BR /&gt;what ever i do the result is always the same 0 lines fetched&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 10:17:34 GMT</pubDate>
    <dc:creator>fhana</dc:creator>
    <dc:date>2025-07-25T10:17:34Z</dc:date>
    <item>
      <title>Load data from Clickhouse with REST API</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Load-data-from-Clickhouse-with-REST-API/m-p/2525324#M3316</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;&lt;BR /&gt;I'm trying to load data from a clickhouse instance to Qlik, and I'm keep getting empty result&amp;nbsp;&lt;BR /&gt;0 lines fetched&lt;BR /&gt;&lt;BR /&gt;I'm using Qlik Cloud&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tested the query in curl&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;curl -X POST -u xxx:yyy "&lt;A href="https://host:port/?database=database" target="_blank" rel="noopener"&gt;https://host:port/?database=database&lt;/A&gt;" \&lt;BR /&gt;&amp;gt; -H "Content-Type: text/plain" \&lt;BR /&gt;&amp;gt; -H "Accept: application/json" \&lt;BR /&gt;&amp;gt; --data-binary "SELECT 1 AS test_value FORMAT JSON"&lt;BR /&gt;&lt;BR /&gt;I'm getting usual results&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;when configuring the REST connector I'm setting&lt;BR /&gt;the URL to https link&amp;nbsp;&lt;BR /&gt;method to POST&lt;BR /&gt;our auth&lt;BR /&gt;the query goes to the body&amp;nbsp;&lt;BR /&gt;I'm adding header parameters like Name -&amp;nbsp;Accept; Value -&amp;nbsp;text/plain etc&lt;BR /&gt;Always HTTPS is also turned on&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;the connection works&amp;nbsp;&lt;BR /&gt;in the load script i have&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;LIB CONNECT TO 'clickhouse test';&lt;BR /&gt;TestSimple:&lt;BR /&gt;SQL SELECT&lt;BR /&gt;"test_value"&lt;BR /&gt;FROM JSON (wrap on) "data";&lt;BR /&gt;&lt;BR /&gt;what ever i do the result is always the same 0 lines fetched&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 10:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Load-data-from-Clickhouse-with-REST-API/m-p/2525324#M3316</guid>
      <dc:creator>fhana</dc:creator>
      <dc:date>2025-07-25T10:17:34Z</dc:date>
    </item>
  </channel>
</rss>

