Skip to content

Commit

Permalink
[native] Allow incoming Velox abfs namespace change
Browse files Browse the repository at this point in the history
abfs namespace is being removed in Velox for the AbfsFileSystem to be
consistent with other File Systems.
  • Loading branch information
majetideepak authored and aditi-pandit committed Nov 18, 2024
1 parent f72d863 commit b7ca014
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions presto-native-execution/presto_cpp/main/PrestoServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,11 @@ void PrestoServer::registerFileSystems() {
velox::filesystems::registerS3FileSystem();
velox::filesystems::registerHdfsFileSystem();
velox::filesystems::registerGcsFileSystem();
#ifdef VELOX_ENABLE_FORWARD_COMPATIBILITY
velox::filesystems::registerAbfsFileSystem();
#else
velox::filesystems::abfs::registerAbfsFileSystem();
#endif
}

void PrestoServer::unregisterFileSystems() {
Expand Down

0 comments on commit b7ca014

Please sign in to comment.