Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Filtering is supported only on partition keys of type string


Copy link to this message
-
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.

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB