Imran2687 commented on issue #11072: URL: https://github.com/apache/druid/issues/11072#issuecomment-815486906
@FrankChen021 : Suppose there are use case where you compute profit and loss of the user. So what i do is i calculate sum of all credits and sum of all debits and find profit and loss. Using rollup it becomes easier we just rollup on the basis of dimension username and transaction Type(credit/debit) , metrics is sum of amount and it works. but doing this we should not consider transaction id as its unique and if we consider it it will be not rolled up. But suppose if we find that the profit and loss is not correct and if we have feature like this to store transaction id(as a concat string or arrays) we can look upon it and calculate easily.This can help us to check correctness. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
