<?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: QVD file, data concatenation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397486#M611945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben. I've checked and in Vertica I need apostrophes for the date:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE ("start_date"&amp;gt;&lt;STRONG&gt; '&lt;/STRONG&gt;2017-11-29 16:32:30&lt;STRONG&gt;'&lt;/STRONG&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;I've added them in the script, but unfortunately I'm getting the same error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE (start_date &amp;gt; '$(lastReloadTime'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 15:55:46 GMT</pubDate>
    <dc:creator>morenoju</dc:creator>
    <dc:date>2017-11-29T15:55:46Z</dc:date>
    <item>
      <title>QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397482#M611941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm bringing a lot of records (about 50 million) from a table in a Vertica DB. The table is expected to keep growing, so I want to use a concatenated load script and a qvd file to avoid having to spend too much time for each load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' ve been trying to replicate what is explained on this post &lt;A href="https://community.qlik.com/message/198191"&gt;Incremental reload and store into QVD file&lt;/A&gt; but in the end, I keep getting the same error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The following error occurred:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Connector reply error: ***&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;The error occurred here:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you have a look on my script and let me know if there's something I can fix?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LET lastReloadTime = Date(ReloadTime(),'YYYY-MM-DD HH:MM:SS');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// If traffic.qvd already exists, we load its data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;IF qvdcreatetime("D:\Temp\data_traffic\traffic.qvd") Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[traffic]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD "start_date" as link_timestamp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "item_id" as [link.id],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed_mph",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; traveltime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM &lt;D&gt; (qvd);&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ELSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// If traffic.qvd does not exist, we create it with a SQL query&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[traffic]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD "start_date" as link_timestamp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "item_id" as [link.id],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed_mph",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; traveltime;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT "start_date",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "item_id",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed_mph",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; traveltime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM pems."public"."measure_link_15min";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;END IF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;// We concatenate any new data (data whose link_timestamp is later than the lastReloadTime)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CONCATENATE ([traffic])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD "start_date" as link_timestamp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "item_id" as [link.id],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed_mph",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; traveltime;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SQL SELECT "start_date",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "item_id",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; speed,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "speed_mph",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; traveltime&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM pems."public"."measure_link_15min"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE (link_timestamp &amp;gt; $(lastReloadTime));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;STORE [traffic] INTO &lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397482#M611941</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2017-11-29T14:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397483#M611942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issue is in connector not in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So part SQL Select can not be executed properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 14:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397483#M611942</guid>
      <dc:creator>hubertdudek</dc:creator>
      <dc:date>2017-11-29T14:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397484#M611943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Right, I changed the WHERE clause:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;WHERE ("start_date" &amp;gt; $(lastReloadTime));&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I was using &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier; font-size: 13px;"&gt;link_timestamp &lt;/SPAN&gt;by mistake. However, I'm getting the same error....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397484#M611943</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2017-11-29T15:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397485#M611944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;Hi Juan, note that the query passed will be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE ("start_date"&amp;gt; 2017-11-29 16:32:30);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;¿Can this work on Vertica DB? Syntaxis will depend on database, not QlikView&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397485#M611944</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-29T15:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397486#M611945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben. I've checked and in Vertica I need apostrophes for the date:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE ("start_date"&amp;gt;&lt;STRONG&gt; '&lt;/STRONG&gt;2017-11-29 16:32:30&lt;STRONG&gt;'&lt;/STRONG&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;I've added them in the script, but unfortunately I'm getting the same error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE (start_date &amp;gt; '$(lastReloadTime'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397486#M611945</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2017-11-29T15:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397487#M611946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan, I don't know if it's a typo, but it should be:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;WHERE (start_date &amp;gt; '$(lastReloadTime)'); //closing apostrophe moved&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:57:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397487#M611946</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-11-29T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397488#M611947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, good catch! Thank you Ruben!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I got a different error, I'm going to try to solve it and I'll post here the conclusions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397488#M611947</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2017-11-29T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: QVD file, data concatenation</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397489#M611948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved some other issues non related to the connector and it worked.&lt;/P&gt;&lt;P&gt;Thank you all for your support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-file-data-concatenation/m-p/1397489#M611948</guid>
      <dc:creator>morenoju</dc:creator>
      <dc:date>2017-11-29T17:12:03Z</dc:date>
    </item>
  </channel>
</rss>

