hive-solr icon indicating copy to clipboard operation
hive-solr copied to clipboard

Cannot query indexes with null field values

Open scoaste opened this issue 7 years ago • 0 comments

I can select into my hive-solr table from a source table to create the solr index, however when I query the resulting table, I receive an error on columns that were null on input:

If select *:

Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Double

If select up to the offending column:

Failed with exception java.io.IOException:org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ClassCastException

scoaste avatar Jul 07 '17 22:07 scoaste