[
https://issues.apache.org/jira/browse/HADOOP-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628928#action_12628928
]
Namit Jain commented on HADOOP-4085:
------------------------------------
I will take care of the above - but I was not sure of the charset names.
Shouldn't we initially support only the 7-8 charsets
specified as must in CharSet and not let the user add any charset. Because, we
will be using that encoding to convert
into a valid String later on. I agree that instead of hardcoding UTF-8, it
should be something like
charSetName: can be a list of UTF-8, UNICODE etc..
but we should not allow any identifier out there, because we have no way of
knowing whether it is a valid encoding or not, and
we will be forced to throw errors at the Semantic Analyzer . Are you proposing
that - instead of catching bad character set names
at the parser, throw an error in the Semnatic Analyzer if is not valid.
> internationalization support and sort order (ascedning/descending) support in
> create table
> ------------------------------------------------------------------------------------------
>
> Key: HADOOP-4085
> URL: https://issues.apache.org/jira/browse/HADOOP-4085
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/hive
> Reporter: Namit Jain
> Assignee: Namit Jain
> Attachments: patch1
>
>
> User cannot specify utf8 strings in the query, both for selection and
> filtering. Mysql syntax should be followed:
> select _utf8 'string' from <TableName>
> select <selectExpr> from <TableName> where col = _utf8 0x<HexValue>
> To start with, utf8 strings should be supported. Support for other character
> sets can be added in the future on demand.
> The identifiers (table name/column name etc.) cannot be utf8 strings, it is
> only for the data values.
> Although, in create table, the user has the option of specifying sorted
> columns, he does not have the option of specifying whether they are ascending
> or descending.
> Create Table syntax should be enhanced to support that.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.