Skip to content

Commit

Permalink
Disable sorted checksum for non-flatmaps
Browse files Browse the repository at this point in the history
Differential Revision: D60214128
  • Loading branch information
MacVincent Agha-Oko authored and facebook-github-bot committed Jul 25, 2024
1 parent 5ba326f commit 7276e34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dwio/nimble/velox/VeloxWriterOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ struct VeloxWriterOptions {
std::shared_ptr<folly::Executor> encodingExecutor;

bool enableChunking = false;

// We may choose to calculate a key order agnostic checksum for certain
// column types, like FlatMaps for instance. This indicator tells the writer
// when a sorted checksum is expected.
bool sortMapKeys = false;
};

} // namespace facebook::nimble

0 comments on commit 7276e34

Please sign in to comment.