Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.65 KB

CONTRIBUTING.md

File metadata and controls

52 lines (43 loc) · 1.65 KB

We are committed to providing a safe and welcoming environment for all members.

We expect all members to adhere to our Code of Conduct, which includes the following principles:

  • Be respectful and considerate of others.
  • Be open to constructive criticism and feedback.
  • Contribute positively to the community.

Testing

Various components of this solution require testing, although each component may not apply to every user. Here are ways to use Docker to run these backends.

Add the following .env file and provide values for compatibility with most backends. These align with the specific in the run commands below.

MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASSWORD=my-secret-pw
POSTGRES_HOST=localhost
POSTGRES_USER=postgres
POSTGRES_PASSWORD=mysecretpassword
SA_PASSWORD=YourStrong!Passw0rd
SNOWFLAKE_ACCOUNT=youraccount
SNOWFLAKE_USER=youruser
SNOWFLAKE_PASSWORD=yourpassword
SNOWFLAKE_DATABASE=yourdatabase
SNOWFLAKE_SCHEMA=yourschema
SNOWFLAKE_ROLE=yourrole
SNOWFLAKE_WAREHOUSE=yourwarehouse
ACCEPT_EULA=Y

MySQL

docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -p 3306:3306 -d mysql

SQL Server

docker run --name sql_server_container -e ACCEPT_EULA=Y -e SA_PASSWORD=YourStrong!Passw0rd -p 1433:1433 -d mcr.microsoft.com/mssql/server:2019-latest

Postgres

docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres

Snowflake

Using the Python Connector

Snowpark

Creating a Session for Snowpark Python