diff --git a/velox/exec/SpillFile.cpp b/velox/exec/SpillFile.cpp index 3a362b89e447..f21572b1d701 100644 --- a/velox/exec/SpillFile.cpp +++ b/velox/exec/SpillFile.cpp @@ -69,7 +69,8 @@ SpillWriteFile::SpillWriteFile( filesystems::FileOptions{ {{filesystems::FileOptions::kFileCreateConfig.toString(), fileCreateConfig}}, - nullptr}); + nullptr, + std::nullopt}); } void SpillWriteFile::finish() {