Fix build without s3

This commit is contained in:
kssenii 2023-03-30 12:13:03 +02:00
parent bb698a6ed4
commit bd407d2d5c
3 changed files with 4 additions and 10 deletions

View File

@ -6,7 +6,6 @@
#if USE_AWS_S3
#include <Storages/DataLakes/S3MetadataReader.h>
#include <Storages/StorageS3.h>
#endif
namespace DB
{
@ -135,8 +134,8 @@ Strings DeltaLakeMetadataParser<Configuration, MetadataReadHelper>::getFiles(con
return Strings(data_files.begin(), data_files.end());
}
#if USE_AWS_S3
template Strings DeltaLakeMetadataParser<StorageS3::Configuration, S3DataLakeMetadataReadHelper>::getFiles(
const StorageS3::Configuration & configuration, ContextPtr);
#endif
}
#endif

View File

@ -9,7 +9,6 @@
#if USE_AWS_S3
#include <Storages/DataLakes/S3MetadataReader.h>
#include <Storages/StorageS3.h>
#endif
namespace DB
{
@ -85,9 +84,9 @@ Strings HudiMetadataParser<Configuration, MetadataReadHelper>::getFiles(const Co
return processMetadataFiles(files, configuration.getPath());
}
#if USE_AWS_S3
template Strings HudiMetadataParser<StorageS3::Configuration, S3DataLakeMetadataReadHelper>::getFiles(
const StorageS3::Configuration & configuration, ContextPtr);
#endif
}
#endif

View File

@ -21,10 +21,8 @@
#include <Poco/JSON/Object.h>
#include <Poco/JSON/Parser.h>
#if USE_AWS_S3
#include <Storages/DataLakes/S3MetadataReader.h>
#include <Storages/StorageS3.h>
#endif
namespace DB
@ -221,9 +219,7 @@ Strings IcebergMetadataParser<Configuration, MetadataReadHelper>::getFiles(const
return getFilesForRead<Configuration, MetadataReadHelper>(manifest_files, configuration, context);
}
#if USE_AWS_S3
template Strings IcebergMetadataParser<StorageS3::Configuration, S3DataLakeMetadataReadHelper>::getFiles(const StorageS3::Configuration & configuration, ContextPtr);
#endif
}
#endif