#pragma once #include "config.h" #if USE_AWS_S3 # include # include # include # include namespace DB { template class HudiMetadataParser { public: HudiMetadataParser(const Configuration & configuration_, ContextPtr context_); std::vector getFiles() const; static String generateQueryFromKeys(const std::vector & keys, const String & format); private: Configuration configuration; ContextPtr context; Poco::Logger * log; }; struct StorageHudiName { static constexpr auto name = "Hudi"; static constexpr auto data_directory_prefix = ""; }; using StorageHudi = IStorageDataLake>; } #endif