qubole / rubix

Cache File System optimized for columnar formats and object stores
Apache License 2.0
183 stars 74 forks source link

Implement lazy loading of InputStream object for original (remote) file path #47

Closed abhishekdas99 closed 7 years ago

abhishekdas99 commented 7 years ago

Right now we create FSDataInputStream irrespective of whether we are falling back to DirectRead from the remote. Lets instantiate this object only when we need.