Hi all, I'd like to inspect ResultSet returned by Hive JDBC and to be able to reconstruct the complex types (I.e. Map, struct and array). However, ResultSet and ResultSetMetaData only returns the column type as string for these complex types, making it impossible to distinguish an array "[1,2,3]" from an actual string value "[1,2,3]".
Questions 1. I saw from the source code that HiveResultSetMetaData has the raw column types, but it just not exposing the information. (http://svn.apache.org/viewvc/hive/branches/HIVE-4115/jdbc/src/java/org/apac he/hive/jdbc/HiveResultSetMetaData.java?view=markup) Can you add a method that returns the raw column type (e.g. map<string, string>)? (Btw, I'm new to this mailing list, and please let me know if this should be sent to the dev mailing list.) 2. Is there any other way to achieve what I want to do? Of course, you can inspect your query, but I was hoping ResultSet can be self-sufficient. Thanks, Mingyu
smime.p7s
Description: S/MIME cryptographic signature