very insightful on sql, aws, data modeling concepts & applications of those concepts, helps to recall & understand better the concepts learnt in big data master course & sql leetcode playlist :)
@sonuparmar583610 ай бұрын
@sumitmittal07 The SQL aggregate question in which we need to calculate cumulative profit won't use ROWS Between as that will be used for rolling profit between a range, instead it should be simply: CUMULATIVE_PROFIT = SUM(profit) OVER(ORDER BY transaction_id, transaction_date). Let me know if I understood the question correctly or not. Also, in the partitioning and bucketing question interviewee have explained vice-versa.
@aniruths99008 ай бұрын
You are right - Buckets are stored as files. Partitions are stored as directories.
@avicool082 ай бұрын
Good 👍
@ankandatta435210 ай бұрын
In the case of creating a primary key in case unavailable, we can select any attribute and check if that attribute has 1 to 1 relationship with other composite values (in excel using a pivot table, check distinct values) and then use sha2 or md5 in adf to form the surrogate key. Correct me if I'm wrong
@rajeshvijayakumar10 ай бұрын
Yes, I was also thinking about md5
@dattabandi922610 ай бұрын
👌👌
@akashprabhakar63534 ай бұрын
The interviewer looks like Tarun gill :) BTW nice interview.
@harirk32392 ай бұрын
It's not good actually that candidate have to present screen and write query