rinsed-org / rb-snowflake-client

pure ruby snowflake (REST API) client
MIT License
9 stars 11 forks source link

Upcase `database` & `warehouse` fields #26

Closed alexstoick closed 10 months ago

alexstoick commented 10 months ago

The fields are case sensitive as per Snowflake's api 1. If we pass NOT upcased fields we get errors like:


RubySnowflake::BadResponseError: Bad response! Got code: 422, w/ message {
  "code" : "391918",
  "message": "Unable to run <command> without specifying
database/warehouse"
}