Skip to content

Commit 7276e34

Browse files
MacVincent Agha-Okofacebook-github-bot
MacVincent Agha-Oko
authored andcommitted
Disable sorted checksum for non-flatmaps
Differential Revision: D60214128
1 parent 5ba326f commit 7276e34

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dwio/nimble/velox/VeloxWriterOptions.h

+5
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ struct VeloxWriterOptions {
128128
std::shared_ptr<folly::Executor> encodingExecutor;
129129

130130
bool enableChunking = false;
131+
132+
// We may choose to calculate a key order agnostic checksum for certain
133+
// column types, like FlatMaps for instance. This indicator tells the writer
134+
// when a sorted checksum is expected.
135+
bool sortMapKeys = false;
131136
};
132137

133138
} // namespace facebook::nimble

0 commit comments

Comments
 (0)