diff --git a/src/Storages/DataLakes/DeltaLakeMetadataParser.cpp b/src/Storages/DataLakes/DeltaLakeMetadataParser.cpp index 95348a0945d..36b7dca2ff2 100644 --- a/src/Storages/DataLakes/DeltaLakeMetadataParser.cpp +++ b/src/Storages/DataLakes/DeltaLakeMetadataParser.cpp @@ -6,7 +6,6 @@ #if USE_AWS_S3 #include #include -#endif namespace DB { @@ -135,8 +134,8 @@ Strings DeltaLakeMetadataParser::getFiles(con return Strings(data_files.begin(), data_files.end()); } -#if USE_AWS_S3 template Strings DeltaLakeMetadataParser::getFiles( const StorageS3::Configuration & configuration, ContextPtr); -#endif } + +#endif diff --git a/src/Storages/DataLakes/HudiMetadataParser.cpp b/src/Storages/DataLakes/HudiMetadataParser.cpp index c394a57dcbc..29e73f0ae2d 100644 --- a/src/Storages/DataLakes/HudiMetadataParser.cpp +++ b/src/Storages/DataLakes/HudiMetadataParser.cpp @@ -9,7 +9,6 @@ #if USE_AWS_S3 #include #include -#endif namespace DB { @@ -85,9 +84,9 @@ Strings HudiMetadataParser::getFiles(const Co return processMetadataFiles(files, configuration.getPath()); } -#if USE_AWS_S3 template Strings HudiMetadataParser::getFiles( const StorageS3::Configuration & configuration, ContextPtr); -#endif } + +#endif diff --git a/src/Storages/DataLakes/IcebergMetadataParser.cpp b/src/Storages/DataLakes/IcebergMetadataParser.cpp index 030a1d03e0e..f6302aa2d11 100644 --- a/src/Storages/DataLakes/IcebergMetadataParser.cpp +++ b/src/Storages/DataLakes/IcebergMetadataParser.cpp @@ -21,10 +21,8 @@ #include #include -#if USE_AWS_S3 #include #include -#endif namespace DB @@ -221,9 +219,7 @@ Strings IcebergMetadataParser::getFiles(const return getFilesForRead(manifest_files, configuration, context); } -#if USE_AWS_S3 template Strings IcebergMetadataParser::getFiles(const StorageS3::Configuration & configuration, ContextPtr); -#endif } #endif