Re: d.filter("id in max(id)")
You can do max on a struct to get the max value for the first column, along with the values for other columns in the row (an argmax) Here is an example
d.filter("id in max(id)")
Hi, How can I make that work? val d = HiveContext.table("table") select * from table where ID = MAX(ID) from table Thanks