<?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 SSE and Python: A resource has been exhausted. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSE-and-Python-A-resource-has-been-exhausted/m-p/98531#M1373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SSE plugin is designed for sampling. The data passed to the plugin include ID Field and sample size. The type of the sampling function is Tensor, and the same amount of rows are returned. It works perfectly for small size problems, but I got an error for a case where there are &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;2,138,229&lt;/STRONG&gt;&lt;/SPAN&gt; rows in the column ID Field (see the picture below). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table object, the first column is ID Field and the second is the return of my SSE function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=tools.SimpleRandomSampling([ID Field], $(vSampleSize))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have ideas on how to resolve this issue? Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later I found the issue is caused by the "yield" line. Does Qlik Sense have limit on how many records can be passed back? How to increase this limit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="212733" alt="qlik error message 1.png" class="jive-image image-1" src="/legacyfs/online/212733_qlik error message 1.png" style="height: 356px; width: 620px;" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2018 04:28:54 GMT</pubDate>
    <dc:creator>maxchenvago</dc:creator>
    <dc:date>2018-09-06T04:28:54Z</dc:date>
    <item>
      <title>SSE and Python: A resource has been exhausted.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/SSE-and-Python-A-resource-has-been-exhausted/m-p/98531#M1373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My SSE plugin is designed for sampling. The data passed to the plugin include ID Field and sample size. The type of the sampling function is Tensor, and the same amount of rows are returned. It works perfectly for small size problems, but I got an error for a case where there are &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;2,138,229&lt;/STRONG&gt;&lt;/SPAN&gt; rows in the column ID Field (see the picture below). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table object, the first column is ID Field and the second is the return of my SSE function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=tools.SimpleRandomSampling([ID Field], $(vSampleSize))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have ideas on how to resolve this issue? Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later I found the issue is caused by the "yield" line. Does Qlik Sense have limit on how many records can be passed back? How to increase this limit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="212733" alt="qlik error message 1.png" class="jive-image image-1" src="/legacyfs/online/212733_qlik error message 1.png" style="height: 356px; width: 620px;" /&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 04:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/SSE-and-Python-A-resource-has-been-exhausted/m-p/98531#M1373</guid>
      <dc:creator>maxchenvago</dc:creator>
      <dc:date>2018-09-06T04:28:54Z</dc:date>
    </item>
  </channel>
</rss>

