[ 
https://issues.apache.org/jira/browse/ORC-1343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17656545#comment-17656545
 ] 

Dongjoon Hyun commented on ORC-1343:
------------------------------------

`orc.create.index` is HIVE-3874 (Hive 0.11) originally. I guess it could be 
supported by Hive community somehow. However, I agree with your assessment. 
Let's revert ORC-1283 first with this JIRA.
By reusing your investigation, we can add some test cases and documentation 
with new JIRA issues.

I'll use your authorship in the reverting commit [~deshanxiao].

> Reading ORC files without index occurs error using latested spark
> -----------------------------------------------------------------
>
>                 Key: ORC-1343
>                 URL: https://issues.apache.org/jira/browse/ORC-1343
>             Project: ORC
>          Issue Type: Bug
>    Affects Versions: 1.7.7, 1.8.1
>            Reporter: Penglei Shi
>            Priority: Major
>         Attachments: image-2023-01-09-20-34-10-801.png, 
> image-2023-01-09-20-43-43-682.png, 
> my-java-create-index-false-row-index-10000-file.orc, my-without-index.orc
>
>
> 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
> {code:java}
> if (indexes[columnIx] == null) {
>   throw new AssertionError("Index is not populated for " + columnIx);
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to