You can create one table in any environment or any file which keeps the values of dev, qa and prod, which accessing this table you can use lookup activities and store into variable in adf pipeline
@@sivaani37 you can use row number without partitioning w = Window().orderBy(salary.asc())) df1 = df.withColumn("row_num", row_number().over(w)) df1.filter(row_num==7) In that video , he used only 4 records, so it's not possible to show the 7th highest salary
Thank you sir, this is very useful. I did not quite understand the purpose of joining a dataframe with itself, this part: df1.alias('a').join(df1.alias('b') Could someone explain?
To find the MgrName. if you see the Note: MgrId is EmpId of employee, In that case Mgrname would be EmpId of Empname. for eg : MgrId is 100 mean then MgrName would be "raj"
Thanks SS Unitech, your videos are very easy to understand 😊
Thanks
Good job brother 👏
Thanks 🙏
The second parameter in to_date() supplied is diferrent from the output. you passed dd-MM-yy but displayed as yyyy-MM-dd.
The second argument in the to_date function takes the format of how the first argument is. Please correct it
thanks so much👏
I am getting nonetype object has no attribute 'alias'....How to slove this error
Super video
Thanks 🙏
Thanks susheel
Thanks.
Keep learning and sharing
how to control variable value in dev and prod different values, can you please explain
You can create one table in any environment or any file which keeps the values of dev, qa and prod, which accessing this table you can use lookup activities and store into variable in adf pipeline
iam get null in Newsaldt column
These should be some issue with your formula
What about the 7th highest salary ?
Already recorded one video on hiw to get top n salary on each department please this video
ruclips.net/video/HnN-J8_u2Tc/видео.html
But the link you shared is based on a window. What if I have to find the seventh highest salary irrespective of the dept?
@@sivaani37 you can use row number without partitioning
w = Window().orderBy(salary.asc()))
df1 = df.withColumn("row_num", row_number().over(w))
df1.filter(row_num==7)
In that video , he used only 4 records, so it's not possible to show the 7th highest salary
Thank you sir, this is very useful.
I did not quite understand the purpose of joining a dataframe with itself, this part: df1.alias('a').join(df1.alias('b')
Could someone explain?
To find the MgrName.
if you see the Note: MgrId is EmpId of employee,
In that case Mgrname would be EmpId of Empname. for eg : MgrId is 100 mean then MgrName would be "raj"