From 6c673d7f255432ae18ef964ea56289fb6274f256 Mon Sep 17 00:00:00 2001 From: Ankita Victor Date: Fri, 7 Jun 2024 11:34:36 +0530 Subject: [PATCH] Build struct --- cpp/velox/compute/VeloxPlanConverter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/velox/compute/VeloxPlanConverter.cc b/cpp/velox/compute/VeloxPlanConverter.cc index fe8b4f8d518c..4ec939883ea5 100644 --- a/cpp/velox/compute/VeloxPlanConverter.cc +++ b/cpp/velox/compute/VeloxPlanConverter.cc @@ -81,7 +81,8 @@ std::shared_ptr parseScanSplitInfo( splitInfo->paths.emplace_back(file.uri_file()); splitInfo->starts.emplace_back(file.start()); splitInfo->lengths.emplace_back(file.length()); - splitInfo->properties.emplace_back(file.properties().filesize(), file.properties().modificationtime()); + facebook::velox::FileProperties fileProps(file.properties().filesize(), file.properties().modificationtime()); + splitInfo->properties.emplace_back(fileProps); switch (file.file_format_case()) { case SubstraitFileFormatCase::kOrc: splitInfo->format = dwio::common::FileFormat::ORC;