diff --git a/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp b/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp index da3bd28176a0..66ababa2ea3e 100644 --- a/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp +++ b/velox/connectors/hive/storage_adapters/abfs/tests/AbfsFileSystemTest.cpp @@ -66,7 +66,7 @@ class AbfsFileSystemTest : public testing::Test { azuriteServer = std::make_shared(port); azuriteServer->start(); auto tempFile = createFile(); - azuriteServer->addFile(tempFile->path, filePath); + azuriteServer->addFile(tempFile->getPath(), filePath); } void TearDown() override { diff --git a/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h b/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h index 046cb094c1b1..1ef79b31c8b7 100644 --- a/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h +++ b/velox/connectors/hive/storage_adapters/abfs/tests/MockBlobStorageFileClient.h @@ -27,7 +27,7 @@ class MockBlobStorageFileClient : public IBlobStorageFileClient { public: MockBlobStorageFileClient() { auto tempFile = ::exec::test::TempFilePath::create(); - filePath_ = tempFile->path; + filePath_ = tempFile->getPath(); } void create() override;