hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <>
Subject [jira] [Updated] (HIVE-4243) Fix column names in FileSinkOperator
Date Wed, 23 Sep 2015 17:12:05 GMT


Owen O'Malley updated HIVE-4243:
    Attachment: HIVE-4243.patch

Ok, I added the changes to TypeDescription that Prasanth asked for. In particular, I added
a toJson method that prints the detailed (and formatted) print out of the type. I also changed
the constructors to be more to use withPrecision, withScale, and withMaxLength for the primitive
types that can have attributes.

After thinking about it more, I undid the change to TreeWriter.write's interface and just
added both the inspector and schema to the constructors. That let me most of the write methods
the same.

> Fix column names in FileSinkOperator
> ------------------------------------
>                 Key: HIVE-4243
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: File Formats
>    Affects Versions: 1.3.0, 2.0.0
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>         Attachments: HIVE-4243.patch, HIVE-4243.patch, HIVE-4243.patch, HIVE-4243.patch,
> All of the ObjectInspectors given to SerDe's by FileSinkOperator have virtual column
names. Since the files are part of tables, Hive knows the column names. For self-describing
file formats like ORC, having the real column names will improve the understandability.

This message was sent by Atlassian JIRA

View raw message