hiveql - how to use subquery with aggregate function in hive -


  select peridle, from CPU (choose from try2 MAX (peridle)); I am getting the error when executing this question in the hive  

Parse error: Line 1:47 'Selection' 'Max' can not recognize the input. (In the expression specification

Please suggest a solution to use the total functions in the haw subquiry

At least two things need to be fixed here:

  1. You can use the peridle or CPU sub- From the query, you are still trying to select them.
  2. The hive needs to nick sub-questions, even if you do not reference the alias. You can call it <); end ) x; (or you want to call it).

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -