Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-233

Allow `orc.include.columns` to be empty

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: Java
    • Labels:
      None

      Description

      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)
      

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              ajayyadava Ajay Yadav
              Reporter:
              dongjoon Dongjoon Hyun

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment