orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-233) Allow `orc.include.columns` to be empty
Date Fri, 18 Aug 2017 20:36:00 GMT
Dongjoon Hyun created ORC-233:

             Summary: 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.
conf.set(OrcConf.INCLUDE_COLUMNS.getAttribute, "")

Currently, it raises the following exceptions.
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)

This message was sent by Atlassian JIRA

View raw message