Github user AnatoliShein commented on a diff in the pull request:
https://github.com/apache/orc/pull/134#discussion_r138066140
--- Diff: c++/include/orc/OrcFile.hh ---
@@ -103,12 +103,18 @@ namespace orc {
};
/**
- * Create a stream to a local file.
+ * Create a stream to a local file or HDFS file if path begins with
"hdfs://"
--- End diff --
Yes, I guess this is a little confusing. Currently I am calling
readHdfsFile from readLocalFile if it starts with "hdfs://". To fix this I will
add a new function readFile which will call either readHdfsFile or
readLocalFile.
---