diff --git a/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp b/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp index ce0bc6b6de63..228c28506103 100644 --- a/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp +++ b/velox/connectors/hive/storage_adapters/s3fs/S3FileSystem.cpp @@ -79,7 +79,7 @@ class S3ReadFile final : public ReadFile { // Gets the length of the file. // Checks if there are any issues reading the file. - void initialize(const FileOptions& options) { + void initialize(const filesystems::FileOptions& options) { if (options.values.count("fileSize") > 0) { length_ = !options.values.at("fileSize").empty() ? std::stoull(options.values.at("fileSize"))