kasakrisz opened a new pull request #2077: URL: https://github.com/apache/hive/pull/2077
### What changes were proposed in this pull request? Change function parsing to enable specifying null treatment in function actual parameter list. Semantic is the same as specifying it in the standard way: it affects all parameters and two parameters can not have different null treatment. ### Why are the changes needed? Compatibility with other database engines like Impala. ### Does this PR introduce _any_ user-facing change? Yes. Null treatment can be specified like in this example: ``` select last_value(b ignore nulls) over(partition by a order by b) from t1; ``` Existing behavior not changed. ### How was this patch tested? ``` mvn test -Dtest=TestNullTreatment,TestParseWithinGroupClause -pl parser mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=windowing_navfn.q -pl itests/qtest -Pitests ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
