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

Allow `orc.include.columns` to be empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1, 1.5.0
    • Java
    • 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

              ajayyadava Ajay Yadav
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: