You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Indrani Gorti (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/31 06:53:06 UTC

[jira] [Resolved] (HIVE-2916) Hive Type Information for Table Columns

     [ https://issues.apache.org/jira/browse/HIVE-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Indrani Gorti resolved HIVE-2916.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8.0
                   0.8.1

Hi 
I just realized that there is a package 
"org.apache.hadoop.hive.serde2.typeinfo" that is imported when file q/typeinfo has to be used.
The package has the following which is what /q/typeinfo directory contains
    * ListTypeInfo.java
    * MapTypeInfo.java
    * PrimitiveTypeInfo.java
    * StructTypeInfo.java
    * TypeInfo.java
    * TypeInfoFactory.java
    * TypeInfoUtils.java

one can see this in 
http://hive.apache.org/docs/r0.7.1/api/org/apache/hadoop/hive/serde2/typeinfo/package-tree.html
and 
https://svn.apache.org/repos/asf/hive/branches/branch-0.2/ql/src/java/org/apache/hadoop/hive/ql/typeinfo/ 

Indrani Gorti
                
> Hive Type Information for Table Columns
> ---------------------------------------
>
>                 Key: HIVE-2916
>                 URL: https://issues.apache.org/jira/browse/HIVE-2916
>             Project: Hive
>          Issue Type: Bug
>         Environment: Hive-0.8.1
>            Reporter: Indrani Gorti
>            Priority: Blocker
>             Fix For: 0.8.1, 0.8.0
>
>
> Hi
> I am using Hive-0.8.1.  I am trying to get type information for table columns from MetaStore.  The Developer documentation says the components of ql/typeinfo is responsible for this.
> i.e, under the query processor section in https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide#DeveloperGuide-QueryProcessor
>   However the directory "typeinfo" is missing in hadoop/hive/ql.I understand from typeinfo has java files that is responsible for getting all struct fieldnames, categories, primitive types. etc.
> Indrani 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira