Hadoop

Hive query execution: Failed with exception java.io.IOException:org.apache.avro.AvroTypeException: Found double, expecting union

做~自己de王妃 提交于 2020-08-26 09:28:29
问题 I am trying to execute a simple select * from table limit 1; Statement in hive on an external table. But facing failue with execption: java.io.IOException:org.apache.avro.AvroTypeException: Found double, expecting union. Can Someone help me understand what this means? I have checked the schema file and the "default":null is already given. What is the exact reason for this exception occuring? I tried understanding an already existing discussion. The schema looks something like this: {"type":

Hive query execution: Failed with exception java.io.IOException:org.apache.avro.AvroTypeException: Found double, expecting union

二次信任 提交于 2020-08-26 09:27:07
问题 I am trying to execute a simple select * from table limit 1; Statement in hive on an external table. But facing failue with execption: java.io.IOException:org.apache.avro.AvroTypeException: Found double, expecting union. Can Someone help me understand what this means? I have checked the schema file and the "default":null is already given. What is the exact reason for this exception occuring? I tried understanding an already existing discussion. The schema looks something like this: {"type":