Why Does Using Rank() Windowing Function Break The Parser?
The windowing functions online docs for spark sql include the following example: https://databricks.com/blog/2015/07/15/introducing-window-functions-in-spark-sql.html SELECT prod
Solution 1:
I checked the source code and it appears the rank() requires hive support. I am rebuilding spark with
-Phive -Phive-thriftserver
I did confirm: when using a HiveContext the query works.
Post a Comment for "Why Does Using Rank() Windowing Function Break The Parser?"