Feature/fix integration tests by ianton-ru · Pull Request #761 · Altinity/ClickHouse · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion src/Storages/ObjectStorage/DataLakes/DataLakeConfiguration.h
16 changes: 8 additions & 8 deletions src/Storages/ObjectStorage/StorageObjectStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ class StorageObjectStorage::Configuration
virtual void addStructureAndFormatToArgsIfNeeded(
ASTs & args, const String & structure_, const String & format_, ContextPtr context, bool with_structure) = 0;

bool withPartitionWildcard() const;
virtual bool withPartitionWildcard() const;
bool withGlobs() const { return isPathWithGlobs() || isNamespaceWithGlobs(); }
bool withGlobsIgnorePartitionWildcard() const;
bool isPathWithGlobs() const;
bool isNamespaceWithGlobs() const;
virtual bool withGlobsIgnorePartitionWildcard() const;
virtual bool isPathWithGlobs() const;
virtual bool isNamespaceWithGlobs() const;
virtual std::string getPathWithoutGlobs() const;

virtual bool isArchive() const { return false; }
bool isPathInArchiveWithGlobs() const;
virtual bool isPathInArchiveWithGlobs() const;
virtual std::string getPathInArchive() const;

virtual void check(ContextPtr context) const;
Expand Down Expand Up @@ -261,23 +261,23 @@ class StorageObjectStorage::Configuration
String structure = "auto";

virtual void update(ObjectStoragePtr object_storage, ContextPtr local_context);
void updateIfRequired(ObjectStoragePtr object_storage, ContextPtr local_context);
virtual void updateIfRequired(ObjectStoragePtr object_storage, ContextPtr local_context);

/// Create arguments for table function with path and access parameters
virtual ASTPtr createArgsWithAccessData() const
{
throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Method createArgsWithAccessData is not supported by storage {}", getEngineName());
}

const StorageObjectStorageSettings & getSettingsRef() const;
virtual const StorageObjectStorageSettings & getSettingsRef() const;

virtual void fromNamedCollection(const NamedCollection & collection, ContextPtr context) = 0;
virtual void fromAST(ASTs & args, ContextPtr context, bool with_structure) = 0;

virtual ObjectStorageType extractDynamicStorageType(ASTs & /* args */, ContextPtr /* context */, ASTPtr * /* type_arg */ = nullptr) const
{ return ObjectStorageType::None; }

void assertInitialized() const;
virtual void assertInitialized() const;

bool initialized = false;
std::atomic<bool> updated = false;
Expand Down
2 changes: 1 addition & 1 deletion src/Storages/ObjectStorage/StorageObjectStorageCluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void StorageObjectStorageCluster::updateQueryToSendIfNeeded(
{"s3", "s3Cluster"},
{"azureBlobStorage", "azureBlobStorageCluster"},
{"hdfs", "hdfsCluster"},
{"iceberg", "icebergS3Cluster"},
{"iceberg", "icebergCluster"},
{"icebergS3", "icebergS3Cluster"},
{"icebergAzure", "icebergAzureCluster"},
{"icebergHDFS", "icebergHDFSCluster"},
Expand Down
16 changes: 16 additions & 0 deletions src/Storages/ObjectStorage/StorageObjectStorageCluster.h
Loading