mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Corrected smoe ifdef issues
This commit is contained in:
parent
1b6979c5cd
commit
31490438d9
@ -201,20 +201,6 @@ void registerStorageIceberg(StorageFactory & factory)
|
|||||||
.source_access_type = AccessType::AZURE,
|
.source_access_type = AccessType::AZURE,
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
factory.registerStorage(
|
|
||||||
"IcebergLocal",
|
|
||||||
[&](const StorageFactory::Arguments & args)
|
|
||||||
{
|
|
||||||
auto configuration = std::make_shared<StorageLocalIcebergConfiguration>();
|
|
||||||
StorageObjectStorage::Configuration::initialize(*configuration, args.engine_args, args.getLocalContext(), false);
|
|
||||||
|
|
||||||
return createStorageObjectStorage(args, configuration, args.getLocalContext());
|
|
||||||
},
|
|
||||||
{
|
|
||||||
.supports_settings = false,
|
|
||||||
.supports_schema_inference = true,
|
|
||||||
.source_access_type = AccessType::FILE,
|
|
||||||
});
|
|
||||||
#if USE_HDFS
|
#if USE_HDFS
|
||||||
factory.registerStorage(
|
factory.registerStorage(
|
||||||
"IcebergHDFS",
|
"IcebergHDFS",
|
||||||
@ -231,10 +217,26 @@ void registerStorageIceberg(StorageFactory & factory)
|
|||||||
.source_access_type = AccessType::HDFS,
|
.source_access_type = AccessType::HDFS,
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
factory.registerStorage(
|
||||||
|
"IcebergLocal",
|
||||||
|
[&](const StorageFactory::Arguments & args)
|
||||||
|
{
|
||||||
|
auto configuration = std::make_shared<StorageLocalIcebergConfiguration>();
|
||||||
|
StorageObjectStorage::Configuration::initialize(*configuration, args.engine_args, args.getLocalContext(), false);
|
||||||
|
|
||||||
|
return createStorageObjectStorage(args, configuration, args.getLocalContext());
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.supports_settings = false,
|
||||||
|
.supports_schema_inference = true,
|
||||||
|
.source_access_type = AccessType::FILE,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if USE_AWS_S3
|
||||||
#if USE_PARQUET
|
#if USE_PARQUET
|
||||||
void registerStorageDeltaLake(StorageFactory & factory)
|
void registerStorageDeltaLake(StorageFactory & factory)
|
||||||
{
|
{
|
||||||
@ -272,4 +274,5 @@ void registerStorageHudi(StorageFactory & factory)
|
|||||||
.source_access_type = AccessType::S3,
|
.source_access_type = AccessType::S3,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user