Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I have a table in orcale DB , when i try to load the data in Qlik sense only partial data is being loaded i.e. out of 200,000 records only 30,000 records are loaded. It happens only with a particular table and it does not throw any errors also.
any idea?
Thanks in advance.
Regards,
Sundar
Hi Tom,
Thanks for the response.
Its strange, when i load different different number of columns, it breaks at different record counts. But when i load one column it is completely loading the data!!!
For Example if the columns are Country, city, month and sales and record count is 200000
When i load Country , month and sales it loads 30000 (every time it loads the same number in this combination)
When i load Country , city and sales it loads 90000 (every time it loads the same number in this combination)
when i load only one of the fields all the records are loaded
-Sundar
Hi All,
I was able to fix this issue with a work around.
I just added the below code in the select statement of SQL in qlik sense load editor.
Table_name:
load
country,
city,
month,
sales;
sql select country,
city,
month,
sales,
rownum as dummy_rownum,
1 as dummy_number,
'1' as dummy_num_string,
'asfdsfdsafdsfs' as dummy_string1,
'abcdefghijklmnop' as dummy_string
from tablename;
This worked for me.
I guess this is more like making a QVD load "non-optimized" in Qlik by adding a where clause or a transformation while loading the data. (refer: optimize and non-optimze load in qvd)
But here may be it is similar thing with a sql load. with a rownum we might have forced the sql to read through all the record.
Note: may be u need to change the dummy_strings lengths if you have strings of longer length.
Happy Learning:)
-Sundar