stiga-huang commented on code in PR #1158:
URL: https://github.com/apache/orc/pull/1158#discussion_r901538588
##########
c++/include/orc/OrcFile.hh:
##########
@@ -105,20 +105,26 @@ namespace orc {
/**
* Create a stream to a local file or HDFS file if path begins with "hdfs://"
* @param path the name of the file in the local file system or HDFS
+ * @param metrics the metrics of the reader
*/
- ORC_UNIQUE_PTR<InputStream> readFile(const std::string& path);
+ ORC_UNIQUE_PTR<InputStream> readFile(const std::string& path,
+ ReaderMetrics& metrics);
Review Comment:
I think this breaks the compactability of older versions. Should we use
pointer type and default to be nullptr?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]