Snowflake is one of the few enterprise-ready cloud data warehouses that brings simplicity without sacrificing features. It automatically scales, both up and down, to get the right balance of performance vs. cost. Snowflake’s claim to fame is that it separates compute from storage. Snowflake enables data storage, processing, and analytic solutions that are faster, easier to use, and far more flexible than traditional offerings. Snowflake provides all of the functionality of an enterprise analytic database, along with many additional special features and unique capabilities.
The Snowflake Ballerina driver library bundles the Snowflake JDBC driver v3.14.4 through Ballerina. With this library, you can programmatically create and manage all Snowflake objects, including virtual warehouses, databases, and all database objects. It also provides the capability to query Snowflake data.
For more information, go to the module(s).
-
Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations).
-
Export your GitHub personal access token with read package permissions as follows.
export packageUser=<Username> export packagePAT=<Personal access token>
Execute the commands below to build from the source.
-
To build the library:
./gradlew clean build
-
Publish ZIP artifact to the local
.m2
repository:./gradlew clean build publishToMavenLocal
-
Publish the generated artifacts to the local Ballerina central repository:
./gradlew clean build -PpublishToLocalCentral=true
-
Publish the generated artifacts to the Ballerina central repository:
./gradlew clean build -PpublishToCentral=true
As an open source project, Ballerina welcomes contributions from the community.
For more information, go to the contribution guidelines.
All contributors are encouraged to read the Ballerina code of conduct.
- For more information go to the
snowflake.driver
library. - Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.