Description
fakesnow runs a local fake of Snowflake, backed by DuckDB, that the official snowflake-jdbc driver connects to unmodified. It lets JVM projects test Snowflake-flavoured SQL such as VARIANT, LATERAL FLATTEN and QUALIFY without a Snowflake account.Examples
Dependency:
<dependency>
<groupId>io.github.anjeongkyun</groupId>
<artifactId>testcontainers-fakesnow</artifactId>
<version>0.1.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.snowflake</groupId>
<artifactId>snowflake-jdbc</artifactId>
<version>3.19.0</version>
<scope>test</scope>
</dependency>
Usage:
var fakesnow = new FakeSnowContainer();
fakesnow.start();