rb_snowflake_client 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +13 -0
- data/Gemfile +0 -6
- data/Gemfile.lock +1 -7
- data/README.md +6 -0
- data/lib/ruby_snowflake/client.rb +1 -1
- data/lib/ruby_snowflake/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '089c46288d7dc44f8717542fce8732ce32c65db796e5ac5d49fa6fff6cb1f29d'
|
4
|
+
data.tar.gz: '035589f8bcc072830f037c333379a2059eb6a205ad8ae6daecb2bb2ea9c4761a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e390973b02ce165e3bb5722c84cc79cb8c1fcc8457b57ceaf9317f2675fdfe2e5b6276d7c8a496ec5605ab66c15fcdfa2247182d1f54bed39df3c8ce4240fed7
|
7
|
+
data.tar.gz: '092ba2997da8f64f6e9e7ff912d7bdb43882681f5d564028f9a9c6ad51854515e237de27b51de35329acb3fd021de3d4212551cbc31a58942592627805f2e298'
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rb_snowflake_client (1.1.
|
4
|
+
rb_snowflake_client (1.1.1)
|
5
5
|
concurrent-ruby (>= 1.2)
|
6
6
|
connection_pool (>= 2.4)
|
7
7
|
dotenv (>= 2.8)
|
@@ -50,16 +50,10 @@ PLATFORMS
|
|
50
50
|
|
51
51
|
DEPENDENCIES
|
52
52
|
bundler
|
53
|
-
concurrent-ruby
|
54
|
-
connection_pool
|
55
|
-
dotenv
|
56
|
-
jwt
|
57
|
-
oj
|
58
53
|
parallel
|
59
54
|
pry
|
60
55
|
rake
|
61
56
|
rb_snowflake_client!
|
62
|
-
retryable
|
63
57
|
rspec
|
64
58
|
|
65
59
|
BUNDLED WITH
|
data/README.md
CHANGED
@@ -105,6 +105,12 @@ Clients are not warehouse specific, you can override the default warehouse per q
|
|
105
105
|
client.query("SELECT * FROM BIGTABLE", warehouse: "FAST_WH")
|
106
106
|
```
|
107
107
|
|
108
|
+
## Specifying a schema
|
109
|
+
|
110
|
+
```ruby
|
111
|
+
client.query("SELECT * FROM BIGTABLE", schema: "MY_SCHEMA")
|
112
|
+
```
|
113
|
+
|
108
114
|
## Binding parameters
|
109
115
|
|
110
116
|
Say we have `BIGTABLE` with a `data` column of a type `VARIANT`.
|
@@ -223,7 +223,7 @@ module RubySnowflake
|
|
223
223
|
def retryable_http_response_code?(code)
|
224
224
|
# retry (in order): bad request, forbidden (token expired in flight), method not allowed,
|
225
225
|
# request timeout, too many requests, anything in the 500 range (504 is fairly common)
|
226
|
-
[400, 403, 405, 408, 429, 504].include?(code.to_i) || (500..599).include?(code)
|
226
|
+
[400, 403, 405, 408, 429, 502, 504].include?(code.to_i) || (500..599).include?(code.to_i)
|
227
227
|
end
|
228
228
|
|
229
229
|
def retryable_log_method
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb_snowflake_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rinsed
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -105,6 +105,7 @@ executables: []
|
|
105
105
|
extensions: []
|
106
106
|
extra_rdoc_files: []
|
107
107
|
files:
|
108
|
+
- ".github/dependabot.yml"
|
108
109
|
- ".github/workflows/ci.yml"
|
109
110
|
- ".github/workflows/release-gh-packages.yml"
|
110
111
|
- ".github/workflows/release-rubygems.yml"
|