hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Indrani Gorti (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-2916) Hive Type Information for Table Columns
Date Sat, 31 Mar 2012 04:53:06 GMT

     [ 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

        

Mime
View raw message