HGInsights / avalanche

Avalanche is an Elixir Snowflake Connector built on top of the Snowflake SQL API v2.
Apache License 2.0
17 stars 3 forks source link

fix: Allow warehouse to be overridden in request options #42

Closed oceanlewis closed 12 months ago

oceanlewis commented 12 months ago

It looks like the warehouse request option is being lost when it's provided explicitly.

Before change:

iex(1)> Keyword.split([warehouse: "foo"], Avalanche.available_req_options)
{[], [warehouse: "foo"]}

After change:

iex(1)> Keyword.split([warehouse: "foo"], Avalanche.available_req_options)
{[warehouse: "foo"], []}