Open zsxwing opened 2 years ago
Please have a look at https://github.com/godatadriven/datamesh where I set up delta-sharing and S3/Azure storage with docker compose. It's a bit more then you need for this but can be used as inspiration.
For Azure, you can simulate Blob storage using azurite both with a local docker-compose command and on github action with containerized services.
Today when we want to write a test to use Delta Sharing connector to talk with Delta Sharing Server, we need to set up Delta Sharing Server with real cloud storage credentials. It would be great to investigate whether we can write such tests without touching real cloud storage so that it's much easier to run these tests.
For example, we can try to create a test mode for Delta Sharing Server which can become a proxy of local files. Then Delta Sharing connector can just request files from Delta Sharing Server to read local files.