Hi, we are ingesting data in gzip-compressed csv files from s3/minio into Clickhouse. Clickhouse already can ingest this data natively very quickly, if it knows the location of the file in S3/minio, but I would like to manage this process using meltano. How should I structure a pipeline to do this :
1. extract the filenames/paths from minio/s3
2. issue SQL to Clickhouse to pull the files directly from minio using the filenames/paths?
I would like to use meltano for managing state for this process, I.e. (which files that have been processed), for ordering the source files by timestamp, for triggering dbt jobs after ingestion and also for scheduling.
The standard way of pulling a large number of records through singer tap is very slow by comparison.