FW: NPE in hive 2.3.x during window operator

2018-03-20 Thread Anuj Lal
We are also facing the issue as described in https://issues.apache.org/jira/browse/HIVE-18786?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel Any body facing similar and know about any work around AL DISCLAIMER: The information transmitted is intended only for the person

Re: compilation errors on hive for hadoop-3.0.0

2018-03-20 Thread Jason Dere
It looks like hadoop-3.0.0-beta1 may no longer be available, my copy in ~/.m2 looks like it's from last November. The hadoop version should be changed in the hive build. In the meantime you can try building with hadoop 3.0.0, either by changing hadoop.version in your pom.xml or by adding -Dhad

compilation errors on hive for hadoop-3.0.0

2018-03-20 Thread Jasson Chenwei
hi, there I am trying to build a hive distribution for hadoop-3.0.0. I just git clone the source code from https://github.com/apache/hive. I have noticed that the hadoop-3.0.0-beta dependency has been included in the pom file. So, I just executed: mvn clean package -Pdist -Dmaven.test.skip=true

Re: HQL parser internals

2018-03-20 Thread Furcy Pin
Hi Elliot, Yes, the variable substitution is done before the parsing. This make generic query validation much more complicated. As I explained in my previous message, what I did was replacing these ${VARS} by strings "${VARS}" that the HiveParser would agree to parse, and that I could recognize a