You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Panagiotis Garefalakis (Jira)" <ji...@apache.org> on 2020/12/14 15:25:00 UTC
[jira] [Assigned] (ORC-696) Consistent TypeDescription handling for
quoted field names
[ https://issues.apache.org/jira/browse/ORC-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Panagiotis Garefalakis reassigned ORC-696:
------------------------------------------
> Consistent TypeDescription handling for quoted field names
> ----------------------------------------------------------
>
> Key: ORC-696
> URL: https://issues.apache.org/jira/browse/ORC-696
> Project: ORC
> Issue Type: Improvement
> Reporter: Panagiotis Garefalakis
> Assignee: Panagiotis Garefalakis
> Priority: Major
>
> Parsing TypeDescription from a String currently sanitizes quoted names using the parseName utility function: https://github.com/apache/orc/blob/master/java/core/src/java/org/apache/orc/impl/ParserUtils.java#L164
> However, this step can be skipped if the schema is created directly using: *TypeDescription.createStruct().addField() *
> As a result, find Sargs mapping can fail expecting a sanitized internal colName: https://github.com/apache/orc/blob/master/java/core/src/java/org/apache/orc/impl/ParserUtils.java#L255
> This PR makes fieldNames consistent as part of convertTypeFromProtobuf method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)