[
https://issues.apache.org/jira/browse/ORC-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978159#comment-16978159
]
Mustafa Iman commented on ORC-570:
----------------------------------
You are right about ReaderOptions but we still need the supplier pattern for
DefaultDataReader.
[https://github.com/omalley/orc/commit/07d55771562ed7c9c1eca1275c1927af9906071e]
works fine for our usecase.
> FS: ReaderOptions.filesystem should also accept a lazy Supplier
> ----------------------------------------------------------------
>
> Key: ORC-570
> URL: https://issues.apache.org/jira/browse/ORC-570
> Project: ORC
> Issue Type: Bug
> Reporter: Gopal Vijayaraghavan
> Assignee: Mustafa Iman
> Priority: Major
> Attachments: ORC-570.WIP.patch, ORC-570.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> FileSystem initialization is not always necessary when ReaderOptions are
> built out for files, particularly if an OrcTail is provided for the reader
> from another process for the reader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)