Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
maxchenvago
Contributor
Contributor

SSE and Python: A resource has been exhausted.

Hi,

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 2,138,229 rows in the column ID Field (see the picture below).

In the table object, the first column is ID Field and the second is the return of my SSE function

=tools.SimpleRandomSampling([ID Field], $(vSampleSize))

Does anyone have ideas on how to resolve this issue? Much appreciated.

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?

Thanks

Max

qlik error message 1.png)

0 Replies