[
https://issues.apache.org/jira/browse/ORC-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135485#comment-16135485
]
ASF GitHub Bot commented on ORC-233:
------------------------------------
GitHub user ajayyadava opened a pull request:
https://github.com/apache/orc/pull/160
ORC-233 Allow `orc.include.columns` to be empty
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajayyadava/orc 233
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/160.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #160
----
commit 43fce13dd6a973bc6f71e6bf5e45f2f85093f17b
Author: Ajay Yadava <[email protected]>
Date: 2017-08-21T17:35:46Z
ORC-233 Allow `orc.include.columns` to be empty
----
> Allow `orc.include.columns` to be empty
> ---------------------------------------
>
> Key: ORC-233
> URL: https://issues.apache.org/jira/browse/ORC-233
> Project: ORC
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.4.0
> Reporter: Dongjoon Hyun
>
> Apache ORC should support returning all NULLs by the following.
> {code}
> conf.set(OrcConf.INCLUDE_COLUMNS.getAttribute, "")
> {code}
> Currently, it raises the following exceptions.
> {code}
> For input string: ""
> java.lang.NumberFormatException: For input string: ""
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:592)
> at java.lang.Integer.parseInt(Integer.java:615)
> at
> org.apache.orc.mapred.OrcInputFormat.parseInclude(OrcInputFormat.java:69)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)