Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORC-1669: [C++] Deprecate HDFS support #1885

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ option (ANALYZE_JAVA

option (BUILD_LIBHDFSPP
"Include LIBHDFSPP library in the build process"
ON)
OFF)

option(BUILD_CPP_TESTS
"Build the googletest unit tests"
Expand Down
5 changes: 3 additions & 2 deletions c++/include/orc/OrcFile.hh
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ namespace orc {
* @param path the uri of the file in HDFS
* @param metrics the metrics of the reader
*/
std::unique_ptr<InputStream> readHdfsFile(const std::string& path,
ReaderMetrics* metrics = nullptr);
[[deprecated("readHdfsFile is deprecated in 2.0.1 and will be removed in 2.1.0")]] std::
unique_ptr<InputStream>
readHdfsFile(const std::string& path, ReaderMetrics* metrics = nullptr);

/**
* Create a reader to read the ORC file.
Expand Down
Loading