File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2626#include " iceberg/util/macros.h"
2727#include " nanoarrow/nanoarrow.h"
2828
29+ namespace {
30+ static constexpr int64_t kBlockSizeInBytes = 64 * 1024 * 1024L ;
31+ }
32+
2933namespace iceberg {
3034
3135Status ManifestAdapter::StartAppending () {
@@ -264,7 +268,6 @@ Status ManifestEntryAdapter::AppendDataFile(
264268 break ;
265269 case 105 : // block_size_in_bytes (compatible in v1)
266270 // always 64MB for v1
267- static const int64_t kBlockSizeInBytes = 64 * 1024 * 1024L ;
268271 ICEBERG_RETURN_UNEXPECTED (AppendField (array, kBlockSizeInBytes ));
269272 break ;
270273 case 108 : // column_sizes (optional map)
Original file line number Diff line number Diff line change 2424
2525#include < map>
2626#include < memory>
27+ #include < optional>
2728#include < unordered_map>
2829#include < unordered_set>
2930#include < vector>
You can’t perform that action at this time.
0 commit comments