To give an example scenario.
I have a UserInformation in a table with below columns.
UserId,
UserName,
UserAddress,
UpdatedDate.
I need to get the latest Updated record for each User.(only one record per user)
I am using Hive Query to get the data like below.
SELECT
u.UserId,
u.UserName,
u.UserAddress
FROM
( SELECT
ROW_NUMBER() OVER (PARTITION BY UserId ORDER BY UpdatedDate DESC) AS RowRank,
UserId,
UserName,
UserAddress,
UpdatedDate,
FROM UserInformation
) u
WHERE u.RowRank = 1;
Is it possible to do the same in Alteryx with In-DB modules?