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

Ignore orc.create.index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.7, 1.8.1
    • 1.8.2, 1.7.8
    • None
    • None

    Description

      https://issues.apache.org/jira/browse/ORC-1283 this issue has fixed the problem that ENABLE_INDEXES does not take effect. But without index, filters pushdown will occur error, this seems to be because of the code below in RecordReaderImpl.java

      if (indexes[columnIx] == null) {
        throw new AssertionError("Index is not populated for " + columnIx);
      } 

      Attachments

        1. image-2023-01-09-20-34-10-801.png
          204 kB
          Deshan Xiao
        2. image-2023-01-09-20-43-43-682.png
          126 kB
          Deshan Xiao
        3. my-java-create-index-false-row-index-10000-file.orc
          26 kB
          Deshan Xiao
        4. my-without-index.orc
          0.4 kB
          Deshan Xiao

        Issue Links

          Activity

            People

              deshanxiao Deshan Xiao
              Penglei Shi Penglei Shi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: