Skip to content

Commit

Permalink
Revert log change
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed May 26, 2024
1 parent 8e493c9 commit f0764dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion velox/connectors/hive/FileHandle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ std::shared_ptr<FileHandle> FileHandleGenerator::operator()(
->openFileForRead(filename, options);
fileHandle->uuid = StringIdLease(fileIds(), filename);
fileHandle->groupId = StringIdLease(fileIds(), groupName(filename));
VLOG(1) << "Generating file handle for: " << filename;
VLOG(1) << "Generating file handle for: " << filename
<< " uuid: " << fileHandle->uuid.id();
}
RECORD_HISTOGRAM_METRIC_VALUE(
kMetricHiveFileHandleGenerateLatencyMs, elapsedTimeUs / 1000);
Expand Down
2 changes: 1 addition & 1 deletion velox/connectors/hive/FileHandle.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class FileHandleGenerator {
: properties_(std::move(properties)) {}
std::shared_ptr<FileHandle> operator()(
const std::string& filename,
const Metadata& metadata);
const Metadata& metadata = Metadata());

private:
const std::shared_ptr<const Config> properties_;
Expand Down

0 comments on commit f0764dd

Please sign in to comment.