<?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: Understanding GetTableData's qOffset and qRows in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2419676#M19919</link>
    <description>&lt;P&gt;Hello, Alex--&lt;BR /&gt;&lt;BR /&gt;we upgraded to November 2023 patch 4 yesterday and I retested. We got the same behavior. Dupe records. I am including a zipped up test harness that reproduces the problem in python. Any help in diagnosing that is going on here would be most helpful!&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2024 16:57:22 GMT</pubDate>
    <dc:creator>wingmanzz</dc:creator>
    <dc:date>2024-02-15T16:57:22Z</dc:date>
    <item>
      <title>Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2416078#M19814</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I have been building&amp;nbsp; some sample apps for my instution using the Qlik Engine JSON RPC API with Python.&lt;BR /&gt;&lt;BR /&gt;Everything seemed to be working ok with my GetTableData calls, until I realized that I was getting duplicated data. I would make the first call like this for example:&lt;BR /&gt;&lt;BR /&gt;{"jsonrpc": "2.0",&lt;/P&gt;
&lt;P&gt;"id": 4,&lt;/P&gt;
&lt;P&gt;"handle": 1,&lt;/P&gt;
&lt;P&gt;"method": "GetTableData",&lt;/P&gt;
&lt;P&gt;"params": { "qOffset": 0, "qRows": 100,&lt;/P&gt;
&lt;P&gt;"qSyntheticMode": false,&lt;/P&gt;
&lt;P&gt;"qTableName": "Indexes" }&lt;/P&gt;
&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and I would faithfully get back 100 rows I would expect...&lt;BR /&gt;&lt;BR /&gt;but when I made the next call to get 100 more rows like so...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;{"jsonrpc": "2.0",&lt;/P&gt;
&lt;P&gt;"id": 4,&lt;/P&gt;
&lt;P&gt;"handle": 1,&lt;/P&gt;
&lt;P&gt;"method": "GetTableData",&lt;/P&gt;
&lt;P&gt;"params": { "qOffset": 100, "qRows": 100,&lt;/P&gt;
&lt;P&gt;"qSyntheticMode": false,&lt;/P&gt;
&lt;P&gt;"qTableName": "Indexes" }&lt;/P&gt;
&lt;P&gt;}&lt;BR /&gt;&lt;BR /&gt;I would get the SAME rows back. In fact the next call with qOffSet set to 200 would also return the same rows. I have verifed this behavior in the Qlik Sense Engine API explorer..i get the same rows. What am I missing about this API endpoint or parameters?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Happy to provide more details if needed. All the calls are made over the python websockets library and I have also verified that the socket is "empty" and Im not just picking off the same message over and over..&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 14:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2416078#M19814</guid>
      <dc:creator>wingmanzz</dc:creator>
      <dc:date>2024-02-07T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2418159#M19899</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90616"&gt;@wingmanzz&lt;/a&gt;&lt;/SPAN&gt; seems you are using the method in the correct way. Which Qlik Sense version are you using? I tested on QS Aug 2023 patch 8 and it works correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 10:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2418159#M19899</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2024-02-13T10:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2418373#M19904</link>
      <description>Hi Alex—we are using November 2022 release, patch 13 We will be upgrading to November 2023 this month.  I couldnt find a known issue with this mentioned in patch notes or anything, but maybe I missed it.&lt;BR /&gt;&lt;BR /&gt;the table in question has 130k rows.  My app admin tells me we are upgrading our dev server on wed to Nov 23. I will test again an post results here.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Feb 2024 15:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2418373#M19904</guid>
      <dc:creator>wingmanzz</dc:creator>
      <dc:date>2024-02-13T15:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2419676#M19919</link>
      <description>&lt;P&gt;Hello, Alex--&lt;BR /&gt;&lt;BR /&gt;we upgraded to November 2023 patch 4 yesterday and I retested. We got the same behavior. Dupe records. I am including a zipped up test harness that reproduces the problem in python. Any help in diagnosing that is going on here would be most helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 16:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2419676#M19919</guid>
      <dc:creator>wingmanzz</dc:creator>
      <dc:date>2024-02-15T16:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2419820#M19921</link>
      <description>&lt;P&gt;Your use of GetTableData looks correct to me, and I ran that program (admittedly after translating it to C#) and it runs just fine. I see you are only fetching one row at a time though. When you say you're getting dupe records, is it your if-condition that is triggering? Could it simply be that your table indeed has two identical records?&lt;/P&gt;
&lt;P&gt;That "this_chunk_recs" variable doesn't seem to be computed correctly though. And I assume it's supposed to be used in the GetTableData call, but it isn't. But that doesn't affect the general GetTableData functionallity though.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 07:10:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2419820#M19921</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2024-02-16T07:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2420083#M19926</link>
      <description>&lt;P&gt;Thank Alex--yeah, the harness I pulled together was cribbed together from a larger project--please ignore the this_chunk_recs issue&lt;BR /&gt;&lt;BR /&gt;But to your question: yes absolutely sure this table does NOT have duplicate records. it has 130k records. If I request them all, I get them ALL without dupes. if I request them in chunks i get dupes. I only request 1 records chunks here to show the error in the simplest form. yes, it triggers that if condition--in fact I included a log in the zip (I think) which shows the python output--2nd record is the same as the first and the if condition is met.&lt;BR /&gt;&lt;BR /&gt;Also, please not if I just post these request in my engine api explorer web app, I also get dupe records.&lt;BR /&gt;&lt;BR /&gt;This is beginning to sound like this is specific to our app OR our installation of Qliksense.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will test against a different app for completeness sake and post results here.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 14:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2420083#M19926</guid>
      <dc:creator>wingmanzz</dc:creator>
      <dc:date>2024-02-16T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding GetTableData's qOffset and qRows</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2420204#M19930</link>
      <description>&lt;P&gt;Hi Alex--&lt;BR /&gt;&lt;BR /&gt;So we created a simpler app--one that only has a SINGLE table of 5000 unique integers. The API&amp;nbsp; worked correctly! It still fails with the "complicated app" though. I'm also&amp;nbsp; including a new harness and log files (just to clean a few things up). Log_1.txt is the log with complicated app (fails) Log_2.txt is the successful, simple app.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so its something about that particular app. Some things we have conjectured:&lt;BR /&gt;&lt;BR /&gt;1) the app with the issue has multiple tables--could it be related to the fact table duplicates?&lt;BR /&gt;&lt;BR /&gt;2) the app in question has some pretty gnarly section access on it&lt;BR /&gt;&lt;BR /&gt;We are going to add a fact table to the simple app and retest, and then add section access if its still working and retest again.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the attention and eyeballs as we work through this!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 19:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Understanding-GetTableData-s-qOffset-and-qRows/m-p/2420204#M19930</guid>
      <dc:creator>wingmanzz</dc:creator>
      <dc:date>2024-02-16T19:15:32Z</dc:date>
    </item>
  </channel>
</rss>

