You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Edward Yoon (JIRA)" <ji...@apache.org> on 2007/11/22 09:58:43 UTC

[jira] Issue Comment Edited: (HADOOP-2264) Support an OutputFormat for HQL row data

    [ https://issues.apache.org/jira/browse/HADOOP-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544726 ] 

udanax edited comment on HADOOP-2264 at 11/22/07 12:58 AM:
----------------------------------------------------------------

I'd recommend changing from the grammar of above to UDC(user-defined casts), Paul.
{code}ex. select MyCast(col1:) from table ...{code}

"select col1: format(SomeFormatClass), col2: format(AnotherFormatClass) from table ...."
is too heterogeneous from select statement.

      was (Author: udanax):
    I'd recommend changing the grammar of above to UDC(user-defined casts), Paul.
ex. select MyCast(col1:) from table ...

"select col1: format(SomeFormatClass), col2: format(AnotherFormatClass) from table ...."
is too heterogeneous from select statement.
  
> Support an OutputFormat for HQL row data
> ----------------------------------------
>
>                 Key: HADOOP-2264
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2264
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: contrib/hbase
>            Reporter: Paul Saab
>
> Currently when selecting a row, if the data does not convert to a String the hbase shell will print garbage.  It would be nice if  HQL supported a mechanism to format individual columns.  Something along the lines of:
> select col1: format(SomeFormatClass), col2: format(AnotherFormatClass) from table ....

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