Skip to content

Commit 9a4b7dd

Browse files
committed
try to fix build
1 parent 5bf66ec commit 9a4b7dd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

programs/server/Server.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,10 @@ try
24272427
dns_cache_updater->start();
24282428

24292429
auto replicas_reconnector = ReplicasReconnector::init(global_context);
2430+
2431+
#if USE_PARQUET
24302432
ParquetFileMetaDataCache::instance()->setMaxSizeInBytes(server_settings[ServerSetting::input_format_parquet_metadata_cache_max_size]);
2433+
#endif
24312434

24322435
/// Set current database name before loading tables and databases because
24332436
/// system logs may copy global context.

src/Processors/Formats/Impl/ParquetFileMetaDataCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <Processors/Formats/Impl/ParquetFileMetaDataCache.h>
22

3-
#ifdef USE_PARQUET
3+
#if USE_PARQUET
44

55
namespace DB
66
{

0 commit comments

Comments
 (0)