hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navis류승우 <navis....@nexr.com>
Subject Re: Case problem in complex type
Date Fri, 11 Jul 2014 02:21:06 GMT
Any opinions? IMO, field names should be case-sensitive, but I'm doubt on
backward compatibility issue.

Thanks,
Navis


2014-07-10 13:31 GMT+09:00 Lefty Leverenz <leftyleverenz@gmail.com>:

> Struct doesn't have its own section in the Types doc
> <https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types>,
> but it could (see Complex Types
> <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-ComplexTypes
> >).
>  However I don't think people will look there for information about case
> sensitivity -- it belongs in the DDL and DML docs.  Case-insensitivity for
> column names is mentioned here:
>
>    - Create Table
>    <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable
> >
>    (notes immediately after the syntax)
>    - Alter Column -- Rules for Column Names
>    <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterColumn
> >
>
>    - Select Syntax
>    <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select#LanguageManualSelect-SelectSyntax
> >
>    (notes after the syntax)
>
> The ORC doc could also mention this issue, preferably in the section Hive
> QL Syntax
> <
> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ORC#LanguageManualORC-HiveQLSyntax
> >
> .
>
>
> -- Lefty
>
>
> On Wed, Jul 9, 2014 at 11:48 PM, Navis류승우 <navis.ryu@nexr.com> wrote:
>
> > For column name, hive restricts it as a lower case string. But how about
> > field name? Currently, StructObjectInspector except ORC ignores
> case(lower
> > case only). This should not be implementation dependent and should be
> > documented somewhere.
> >
> > see https://issues.apache.org/jira/browse/HIVE-6198
> >
> > Thanks,
> > Navis
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message