[
https://issues.apache.org/jira/browse/HIVE-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/HIVE-4243
> 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, HIVE-4243.tmp.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
(v6.3.4#6332)