You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/04/25 00:23:30 UTC

[jira] Created: (HIVE-444) Compile Time to use ObjectInspector instead of TypeInfo

Compile Time to use ObjectInspector instead of TypeInfo
-------------------------------------------------------

                 Key: HIVE-444
                 URL: https://issues.apache.org/jira/browse/HIVE-444
             Project: Hadoop Hive
          Issue Type: Improvement
          Components: Query Processor
    Affects Versions: 0.4.0
            Reporter: Zheng Shao
            Assignee: Zheng Shao


ObjectInspector contains TypeInfo and in-memory layout of the Object. Currently the Compile Time uses TypeInfo, Runtime initialization uses ObjectInspector. This complicates the system because a lot of stuff, like type resolution in GenericUDF, needs to deal with both TypeInfo and ObjectInspectors. In this transaction, we aim to simplify the system by providing a single way of representing the metadata of the Object.

Steps:
1. Make ObjectInspector serializable
2. Replace TypeInfo in ColumnInfo with ObjectInspector
3. (Optional) Replace RowSchema with ObjectInspector, and use some real names instead of field IDs to make it easier to understand.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.