mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
Added flag for parquet files
This commit is contained in:
parent
ba9587c728
commit
e7fe8fed22
@ -16,10 +16,14 @@ namespace ErrorCodes
|
||||
extern const int BAD_ARGUMENTS;
|
||||
}
|
||||
|
||||
static std::shared_ptr<StorageObjectStorage> createStorageObjectStorage(
|
||||
const StorageFactory::Arguments & args,
|
||||
StorageObjectStorage::ConfigurationPtr configuration,
|
||||
ContextPtr context)
|
||||
namespace
|
||||
{
|
||||
|
||||
// LocalObjectStorage is only supported for Iceberg Datalake operations where Avro format is required. For regular file access, use FileStorage instead.
|
||||
#if USE_AWS_S3 || USE_AZURE_BLOB_STORAGE || USE_HDFS || USE_AVRO
|
||||
|
||||
std::shared_ptr<StorageObjectStorage>
|
||||
createStorageObjectStorage(const StorageFactory::Arguments & args, StorageObjectStorage::ConfigurationPtr configuration, ContextPtr context)
|
||||
{
|
||||
auto & engine_args = args.engine_args;
|
||||
if (engine_args.empty())
|
||||
@ -63,6 +67,9 @@ static std::shared_ptr<StorageObjectStorage> createStorageObjectStorage(
|
||||
partition_by);
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#if USE_AZURE_BLOB_STORAGE
|
||||
void registerStorageAzure(StorageFactory & factory)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user