Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Plz explain the concept of Resident load?
Im not getting it.
With resident load you can load from a table that is already in memory ("already residing in memory"). So use a table that you loaded / created earlier in the run of the current script as a source table.
Plz explain with an example.
Hi,
Please check below example where Resident Load is used with sample data
Customer:
Name, OrderDate
A, 1/1/2015
A, 1/1/2014
B, 1/2/2015
B, 1/3/2015
If you want to find the first order of the customer then we can use resident like below
Customer:
LOAD
*
FROM CustomerDataSource;
CustomerFirstOrder
LOAD
Name,
Min(OrderDate) AS First Order
Resident Customer; // Using resident because we already loaded the Customer data in previous Load/SQL statement.
This is one of the scenario for Resident Load, hope this helps you.
Regards,
Jagan.
check this :
Hi ,
Resident Load:
For Example:
Employees:
Select Empname,
HireDate,
Salary,
Incentives
From Employee;
Load Empname,
Month(HireDate),
Salary + Incentives as ‘GrossSalary’
Resident Employees;
HTH,
Hirish
Resident Load : Loading data from already loaded Qlikview table which is present in Memory. Transformation & calculations can be done using resident load & will be much faster with small set of data compare to physical load.
Check these threads, will be helpful for you:
Dear Chethan,
Resident is used if data should be loaded from a previously loaded table.
Example:
--
TempTable:
Select A,B,C,D from transtable;
NoConcatenate
ResidentTable:
Load A,B,month(C),A*B+D as E resident TempTable Order By A asc;
Kind regards,
Ishfaque Ahmed