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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

table not found: on partial reload

Hi experts,

I have this below situation where when reloading works but on partial reload i get table not found error.

Please help me out resolve this.

Code:

PTable:

Load Name as pName,

         Age as pAge,

          City as pCity

          From emp.qvd;

Test:

Add Load * inline

[Test,

1];

if isPartialReload()=-1 then

     sPTable:

     Load Name as pName,   

     Age as pAge,

     City as pCity

     From emp.qvd;

     PTable:

     Load pName,

     pAge,

       pCity

     Resident sPTable

where not esits(pName);

Drop table sPTable;

end if

1 Solution

Accepted Solutions
Not applicable
Author

Autoconcatenation add noconcatenate

     sPTable:

     noconcatenate

     Load Name as pName,   

     Age as pAge,

     City as pCity,

     From emp.qvd;

View solution in original post

8 Replies
its_anandrjs
Champion III
Champion III

Try with this some comma mistake

Code:

PTable:

Load Name as pName,

         Age as pAge,

          City as pCity

          From emp.qvd;

Test:

Add Load * inline

[Test

1];

if isPartialReload()=-1 then

     sPTable:

     Load Name as pName,   

     Age as pAge,

     City as pCity,

     From emp.qvd;

     PTable:

     Load pName,

     pAge,

       pCity

     Resident sPTable

where not esits(pName);

Drop table sPTable;

end if

Not applicable
Author

The error is for table PTable in the ispartialreload section... Test table works good.

its_anandrjs
Champion III
Champion III

Update the query now check

Try with inplace of the below line of statement

where not esits(pName);


You can write


where not exists(pName);


Not applicable
Author

Sorry it was a typo... in the code there are no such mistakes....

rbecher
MVP
MVP

Hi Pramod,

in partial reload any LOAD statement needs a preceeding REPLACE od ADD command. If not stated the LOAD will be ignored.

- Ralf

Astrato.io Head of R&D
Not applicable
Author

Autoconcatenation add noconcatenate

     sPTable:

     noconcatenate

     Load Name as pName,   

     Age as pAge,

     City as pCity,

     From emp.qvd;

Not applicable
Author

i have added the ADD in the partial realod section but still the issue exists...

rbecher
MVP
MVP

I don't understand your code at all. Think about not using if isPartialReload(). Just add REPLACE/ADD to all LOAD statements and it will work in normal and partial loads.

Astrato.io Head of R&D