Skip to content

Commit

Permalink
Fix missing nits from the Tablet refactor
Browse files Browse the repository at this point in the history
Summary: Fix some missed nits.

Reviewed By: sdruzkin, darrenfu, helfman

Differential Revision: D56534111
  • Loading branch information
Huameng (Michael) Jiang authored and facebook-github-bot committed Apr 24, 2024
1 parent ddb6f1c commit d4ba30f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion dwio/nimble/tablet/TabletWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "dwio/nimble/tablet/Compression.h"
#include "dwio/nimble/tablet/Constants.h"
#include "dwio/nimble/tablet/FooterGenerated.h"
#include "dwio/nimble/velox/MetadataGenerated.h"

namespace facebook::nimble {
namespace {
Expand Down
4 changes: 3 additions & 1 deletion dwio/nimble/tablet/TabletWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

#pragma once

#include "dwio/nimble/tablet/TabletReader.h"
#include "dwio/nimble/common/Checksum.h"
#include "velox/common/file/File.h"
#include "velox/common/memory/Memory.h"

namespace facebook::nimble {
struct Stream {
Expand Down
6 changes: 4 additions & 2 deletions dwio/nimble/velox/VeloxWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ class WriterContext : public FieldWriterContext {
uint64_t stripeSize{0};
std::vector<uint64_t> rowsPerStripe;

WriterContext(MemoryPool& memoryPool, VeloxWriterOptions options)
WriterContext(
velox::memory::MemoryPool& memoryPool,
VeloxWriterOptions options)
: FieldWriterContext{memoryPool, options.reclaimerFactory()},
options{std::move(options)},
logger{this->options.metricsLogger} {
Expand Down Expand Up @@ -411,7 +413,7 @@ void initializeEncodingLayouts(
} // namespace

VeloxWriter::VeloxWriter(
MemoryPool& memoryPool,
velox::memory::MemoryPool& memoryPool,
const velox::TypePtr& schema,
std::unique_ptr<velox::WriteFile> file,
VeloxWriterOptions options)
Expand Down

0 comments on commit d4ba30f

Please sign in to comment.