Quantcast
Channel: Toad for Hadoop Forum - Recent Threads
Viewing all articles
Browse latest Browse all 114

Could not create ResultSet: Unregonized Thrift TTypeId value: MAP_TYPE

$
0
0


Looks Toad for Hadoop can't handle fields of type map<string,string>. Ran query below using Hive:

select itemspend
from prod.checksummarybycheckid
where p_merchantid = 52
AND p_monthofyear = '2016-01'
limit 10

The query ran for 35 seconds, then generated error:

SQL Error:
An exception was caught.
Could not create ResultSet: Unregonized Thrift TTypeId value: MAP_TYPE

Running same query in HUE, succeeds, returning below result:

itemspend
{"70325":"2.69","17128":"7.99","37120":"14.99","12005":"6.39","22801":"9.99","70250":"2.69","70251":"2.69"}
{"70725":"2.69","76320":"0.00","20301":"9.98"}
{"70546":"2.99","14500":"9.89","504":"0.00","72461":"2.99","44560":"13.99","42740":"0.00","23010":"14.89","60900":"17.08","34000":"13.79","61203":"8.24","76320":"0.00","46010":"28.58","64400":"8.74","203027":"13.98","10124":"3.99"}
{"23520":"7.87","76320":"0.00"}
{"70325":"2.69","30463":"15.29","140570":"9.95","76320":"0.00","40110":"16.79","100720":"5.49","105182":"1.29","70420":"2.69"}
{"76320":"0.00","10200":"4.99"}
{"14500":"13.49","33399":"14.99","70540":"2.69","75140":"3.69","253096":"5.99"}
{"40410":"24.99","76320":"0.00","10201":"3.99"}
{"206355":"18.58"}
{"70325":"2.69","70725":"2.69","35870":"15.64","41205":"13.99"}

I'm using Toad for Hadoop 1.5.0, Cloudera CDH 5.2.6


Viewing all articles
Browse latest Browse all 114

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>