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

rajeshbabu updated HBASE-8593:
------------------------------

    Attachment: HBASE-8593_v2.patch

Small change from previous patch to ensure rowkey order based on converted 
bytes.
{code}
      if (columnTypes != null && !stringType[parser.getRowKeyColumnIndex()]) {
        // convert the rowkey to proper type bytes.
        row = convertValueToProperType(row, 
columnTypes[parser.getRowKeyColumnIndex()]);
        rowKey.set(row);
      }
{code}
                
> Type support in ImportTSV tool
> ------------------------------
>
>                 Key: HBASE-8593
>                 URL: https://issues.apache.org/jira/browse/HBASE-8593
>             Project: HBase
>          Issue Type: Sub-task
>          Components: mapreduce
>            Reporter: Anoop Sam John
>             Fix For: 0.95.2
>
>         Attachments: HBASE-8593.patch, HBASE-8593_v2.patch
>
>
> Now the ImportTSV tool treats all the table column to be of type String. It 
> converts the input data into bytes considering its type to be String. Some 
> times user will need a type of say int/float to get added to table by using 
> this tool.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to