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/11/26 13:14:00 UTC
[jira] [Assigned] (ORC-688) Allow CHAR, VARCHAR to be promoted to
STRING
[ https://issues.apache.org/jira/browse/ORC-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Panagiotis Garefalakis reassigned ORC-688:
------------------------------------------
Assignee: Panagiotis Garefalakis
> Allow CHAR, VARCHAR to be promoted to STRING
> --------------------------------------------
>
> Key: ORC-688
> URL: https://issues.apache.org/jira/browse/ORC-688
> Project: ORC
> Issue Type: Wish
> Reporter: Shardul Mahadik
> Assignee: Panagiotis Garefalakis
> Priority: Major
>
> E.g. For the evolution File type {{struct<x:char(10)>}} Reader type {{struct<x:string>}}
> we currently get the following error
> {code}
> java.lang.IllegalArgumentException: No conversion of type STRING to self needed
> at org.apache.orc.impl.ConvertTreeReaderFactory.createStringConvertTreeReader(ConvertTreeReaderFactory.java:1954)
> at org.apache.orc.impl.ConvertTreeReaderFactory.createConvertTreeReader(ConvertTreeReaderFactory.java:2267)
> at org.apache.orc.impl.TreeReaderFactory.createTreeReader(TreeReaderFactory.java:2804)
> at org.apache.orc.impl.TreeReaderFactory$StructTreeReader.<init>(TreeReaderFactory.java:2420)
> at org.apache.orc.impl.TreeReaderFactory.createTreeReader(TreeReaderFactory.java:2844)
> at org.apache.orc.impl.TreeReaderFactory.createRootReader(TreeReaderFactory.java:2859)
> {code}
> Should we allow such an evolution?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)