Hello Everyone There is a bug in GenericUDF.getConstantLongValue.
There are 2 patches available: 1. fix the bug https://issues.apache.org/jira/browse/HIVE-10580 2. delete the method because it's not used https://issues.apache.org/jira/browse/HIVE-10710 Can any committer +1 on one or another solution. I'm fine with any solution. Thank you Alex