[
https://issues.apache.org/jira/browse/HADOOP-2264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544726
]
Edward Yoon commented on HADOOP-2264:
-------------------------------------
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.