Skip to content

Commit

Permalink
Build struct
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Jun 7, 2024
1 parent 3721f3e commit 6c673d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/velox/compute/VeloxPlanConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ std::shared_ptr<SplitInfo> 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;
Expand Down

0 comments on commit 6c673d7

Please sign in to comment.