Possibly fix broken tests and build

This commit is contained in:
divanik 2024-08-13 14:48:29 +00:00
parent 534ec1fa01
commit be92986eda
6 changed files with 5 additions and 7 deletions

View File

@ -3,7 +3,7 @@
#include "config.h"
#include <set>
#if USE_AWS_S3 && USE_PARQUET
#if USE_PARQUET
#include <Common/logger_useful.h>
#include <Columns/ColumnString.h>

View File

@ -2,7 +2,7 @@
#include "config.h"
#if USE_AWS_S3 && USE_AVRO
#if USE_AVRO
#include <Formats/FormatFactory.h>
#include <Storages/IStorage.h>

View File

@ -1,6 +1,6 @@
#include "config.h"
#if USE_AWS_S3 && USE_AVRO
#if USE_AVRO
#include <Common/logger_useful.h>
#include <Core/Settings.h>

View File

@ -1,6 +1,6 @@
#pragma once
#if USE_AWS_S3 && USE_AVRO /// StorageIceberg depending on Avro to parse metadata with Avro format.
#if USE_AVRO /// StorageIceberg depending on Avro to parse metadata with Avro format.
#include <Interpreters/Context_fwd.h>
#include <Core/Types.h>

View File

@ -75,10 +75,8 @@ void registerDataLakeTableFunctions(TableFunctionFactory & factory)
{
UNUSED(factory);
#if USE_AVRO
# if USE_AWS_S3
registerTableFunctionIceberg(factory);
#endif
#endif
#if USE_AWS_S3
# if USE_PARQUET
registerTableFunctionDeltaLake(factory);

View File

@ -85,7 +85,7 @@ class AzureUploader(CloudUploader):
def upload_directory(minio_client, bucket, local_path, remote_path):
S3Uploader(minio_client=minio_client, bucket_name=bucket).upload_directory(
return S3Uploader(minio_client=minio_client, bucket_name=bucket).upload_directory(
local_path, remote_path
)