hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-916) typedbytes: changes
Date Wed, 30 Dec 2009 19:09:29 GMT

    [ https://issues.apache.org/jira/browse/HIVE-916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795397#action_12795397
] 

Namit Jain commented on HIVE-916:
---------------------------------

For 3., the following test works:

FROM (
  FROM src
  SELECT TRANSFORM(src.key, src.value) ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.TypedBytesSerDe'
  RECORDWRITER 'org.apache.hadoop.hive.contrib.util.typedbytes.TypedBytesRecordWriter'
  USING '/bin/cat'
  AS (tkey, tvalue) ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.TypedBytesSerDe'
  RECORDREADER 'org.apache.hadoop.hive.contrib.util.typedbytes.TypedBytesRecordReader'
) tmap
INSERT OVERWRITE TABLE dest1 SELECT tkey, tvalue;


The output type is interpreted as string - what is missing ?

> typedbytes: changes
> -------------------
>
>                 Key: HIVE-916
>                 URL: https://issues.apache.org/jira/browse/HIVE-916
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Venky Iyer
>            Assignee: Namit Jain
>
> 1.  probably use int for tinyint/shortint instead of bytes
> 2. pick different typecode for eo-record marker: not 100/101/255
> 3. use string when type not specified in AS clause

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


Mime
View raw message