You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Bennie Schut <bs...@ebuddy.com> on 2010/11/08 11:38:51 UTC

Filtering is supported only on partition keys of type string

Hi,

I just recently updated to trunk, was lagging a few months behind. Now I'm getting errors like: "Filtering is supported only on partition keys of type string"
It seems some type checking was added on org.apache.hadoop.hive.metastore.parser.ExpressionTree.java:161 which makes sure partition keys are string but my current schema actually contains partition keys which are numbers.
I've removed this check and all is running fine again but was this done for a reason? I think I should be able to partition on anything right?

Bennie.