Calls to methods isDistinct and isKey may result in NPE if the value return by the metadata provider is null.
Upgrade Hive to Calcite 1.5
Resolved in release 1.5.0 (2015-11-10)
Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/ee0e824.
Sorry about that.
Pushed to master, thanks for checking the fix Julian Hyde
My bad - I introduced that problem.
Julian Hyde, I created a pull request: https://github.com/apache/incubator-calcite/pull/158
It's a very simple fix, but since this was introduced in CALCITE-792, could you take a look? Thanks