HDP-2.5.0.0 using Ambari 2.4.0.1
I was trying to execute a Hive query like :
SELECT DISTINCT ...... ,ROW_NUMBER() OVER(PARTITION BY .....)
when I got the error :
Error: Error while compiling statement: FAILED: SemanticException SELECT DISTINCT not allowed in the presence of windowing functions when CBO is off (state=42000,code=40000)
I ended up in this Apache Hive JIRA case. I have the following questions :
- The said JIRA case talks about Hive versions 2.x. Given the current HDP version, I am using Hive 1.2.1.2.5, yet, I have the same error(which is possible, logically)
- The JIRA case is 'resolved' in mid-October, the patch seems to be available but I guess it is for Hive 2.x
- Are there ways to get notified/track and implement these patches(here it's Hive but, in general, for all services) between two releases i.e now I am using 2.5 but do I have to live without the patches till the next version is released ?