Skip to content

Commit a28ddf2

Browse files
authored
Add additional unixODBC setup details to README (#17)
* Update readme
1 parent f97b7cd commit a28ddf2

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/gem-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up Ruby 3.1
17+
- name: Set up Ruby 3.3
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: 3.1
20+
ruby-version: 3.3
2121

2222
- name: Publish to RubyGems
2323
run: |

.github/workflows/ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby-version: ['3.0', '3.1']
22+
ruby-version: ['3.2', '3.3']
2323

2424
steps:
2525
- uses: actions/checkout@v2
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install Snowflake ODBC driver
3131
run: curl ${SNOWFLAKE_DRIVER_URL} -o snowflake_driver.deb && sudo dpkg -i snowflake_driver.deb
3232
env:
33-
SNOWFLAKE_DRIVER_URL: https://sfc-repo.snowflakecomputing.com/odbc/linux/3.1.1/snowflake-odbc-3.1.1.x86_64.deb
33+
SNOWFLAKE_DRIVER_URL: https://sfc-repo.snowflakecomputing.com/odbc/linux/3.4.1/snowflake-odbc-3.4.1.x86_64.deb
3434
- name: Set up Ruby
3535
uses: ruby/setup-ruby@v1
3636
with:

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ You'll also need [unixODBC](http://www.unixodbc.org/) (if on Linux/macOS) and th
2424
this adapter. Follow the Snowflake documentation on their ODBC Driver
2525
[here](https://docs.snowflake.com/en/user-guide/odbc.html) before proceeding.
2626

27+
After installing, you may need to configure `simba.snowflake.ini` and set
28+
`DriverManagerEncoding` to "UTF-16", the default encoding for unixODBC. If
29+
unixODBC was built specifically with the `DSQL_WCHART_CONVERT` flag, then
30+
Snowflake's default of "UTF-32" is fine as-is.
31+
2732
## Usage
2833

2934
When establishing the connection, specify `:snowflake` as the adapter to use.

0 commit comments

Comments
 (0)