- fix: Retry GET against 502, 503 responses (#129) [80f342d]
- Update CODEOWNERS (#127) [bad4b34]
- Update rspec requirement from ~> 3.12.0 to ~> 3.13.0 (#124) [6716716]
- Bump release-drafter/release-drafter from 5 to 6 (#125) [0c808c2]
- Bump github/codeql-action from 2 to 3 (#123) [c9d9356]
- Add utility for transforming Trino ROW type columns into Ruby hashes (#117) [e14251c]
- Bump actions/checkout from 3 to 4 (#116) [ebd9d9e]
- Reduce published gem size (#113) [4e03819]
- Update standard requirement from ~> 1.24.3 to ~> 1.30.1 (#112) [b9f9c0c]
- Bump actions/checkout from 2 to 3 (#99) [3022dc1]
- linter: Enable linter on lib (#98) [1c043cd]
- ci: fix typo (#97) [69d966d]
- Faraday 2.x and 1.x cross support (#94) [401639e]
- "push" event on pull requests are redundant (#95) [f935407]
- Fix for Ruby 3.2.x (#92) [3e8fad5]
- Update CODEOWNERS [4d8709a]
- Merge pull request #90 from treasure-data/release-drafter [390a745]
- Merge pull request #80 from treasure-data/dependabot/bundler/rspec-tw-3.12.0 [b525d85]
- Migrate legacy "should" to "expect" [9c22bb0]
- Bump rake so it works with rspec 3.x [7354526]
- Update rspec requirement from ~> 2.13.0 to ~> 3.12.0 [0c82814]
- Merge pull request #91 from treasure-data/dependabot/bundler/standard-tw-1.24.3 [ec7a559]
- Remove the deprecated "test_files" to make the gem package smaller [7e03774]
- Use parentheses with complex conditions [c6351b7]
- Remove redundant escape [b52d244]
- Update standard requirement from ~> 1.12.1 to ~> 1.24.3 [0723dc7]
- Introduce release-drafter github action [7cf538b]
- Run unit tests in github actions with ruby 3 (#89) [58e899d]
- Upgrade minimum ruby version to 2.7 (#86) [07921fd]
- Bump ruby/setup-ruby from 1.61.0 to 1.133.2 (#85) [79e722c]
- Update dependabot.yaml [96cf01d]
- Update addressable requirement from ~> 2.4.0 to ~> 2.8.1 (#82) [24b0c9e]
- Update simplecov requirement from ~> 0.10.0 to ~> 0.22.0 (#83) [8e46420]
- Merge pull request #79 from treasure-data/dependabot/bundler/standard-tw-1.12.1 [d82433f]
- Reformat [8fb2672]
- Update standard requirement from ~> 1.0.0 to ~> 1.12.1 [bbb900f]
- Create dependabot.yaml [d1b619a]
- Merge pull request #78 from treasure-data/standardrb [bed70c9]
- Reformat Rakefile and etc [6e08989]
- Introduce standard [009173e]
- Merge pull request #76 from treasure-data/SECU-1152 [5c9b488]
- Remove ruby 2.5 from testing targets [cdaa0e4]
- Create codeql-analysis.yml [116a17f]
- Merge pull request #77 from treasure-data/retry-interval [cfd99f6]
- Update retryable errors [e8878f6]
- Minor change for retry logic for testing [190fd92]
- Merge pull request #75 from evgeniy-b/1-0-1-fixes [4cdd21f]
- Faraday basic auth deprecation fix [5c20266]
- Gem::Specification#has_rdoc deprecation fix [baaec53]
- Convert model_version to string to use gsub() [7118ad5]
- Fix model version check (operator priority) [31c22f3]
- Merge pull request #73 from pedrombl/update-faraday [2a6482c]
- Merge pull request #74 from takezoe/alias-gem [6829f5b]
- Add a script to publish two gems at once [2eea152]
- Add alias gem 'trino-client-ruby' [597d332]
- Bump faraday version from 0.12 to 1.0 [cd7864f]
- Merge pull request #72 from miniway/trino_add_error_type [2aa365a]
- Add error_type and error_location at TrinoQueryError [e3598c1]
- Add gzip option (#68) [1f43629]
- Bump tiny-presto to 0.0.7 to use docker image in GitHub Container Registry (#69) [57b5045]
- Merge pull request #67 from takezoe/update-readme-follow-redirect-option [6da5025]
- Update README.md to describe follow_redirect option [83f8a05]
- Merge pull request #66 from takezoe/follow-redirect-option [9f1b297]
- Update lib/presto/client/faraday_client.rb [64c0b81]
- Add follow_redirect option [a103660]
- Create CODEOWNERS [c8c3251]
- Merge pull request #56 from miniway/more_recent_statementclient [423ff42]
- Make more similar to recent java StatementClient [94f5193]
- Test with presto docker container (#62) [fe8af11]
- Add pull request template [7b286cc]
- Release 0.6.2 [68f5b27]
- Merge pull request #61 from treasure-data/implement_query_id [6f3f236]
- Merge pull request #60 from treasure-data/fix_test [01fa867]
- Merge pull request #59 from treasure-data/update_readme [50b2e2a]
- Update test target ruby versions [2b65462]
- Update description of model_version [750232e]
- Remove old ruby versions [28b1abb]
- Enable fail_on_error [9c1112a]
- Fix tests which is only effective when presto version is less than 313 [695966e]
- Implement
StatementClient#query_id
[2b692ca] - url encode properties (#57) [8450627]
- Fix WriterTarget 316 model class name
- Support presto 316 model class
- Added
Query#current_results_headers
that returns HTTP response headers
- Added
query_timeout
andplan_timeout
options with default disabled - Changed timer to use CLOCK_MONOTONIC to avoid unexpected behavior when system clock is updated
- Upgrade to Presto 0.205 model
- Support multiple session properties
- Check invalid JSON data response
- Added client_info, client_tags, and http_headers options.
- Added error_name field at PrestoQueryError
- Added
Client#kill(query_id)
method. - Added additional checking of internal exceptions so that client doesn't
silently return in case when Presto query is killed and Presto returns a
valid
200 OK
response withresult_uri: null
. - Fixed
undefined local variable 'body'
error that was possibly happening when Presto returned an unexpected data structure.
- Support a password option with HTTP basic auth
- Changed retry timeout from hard coded 2h to configurable default 2min
- Fix too deep nested json failure
- Added missing inner class models for version 0.178
- Added support for model version 0.178
- Support "Content-Type: application/x-msgpack" for more efficient parsing of HTTP response body.
- Added "enable_x_msgpack: true" option to send Accept header with application/x-msgpack.
- Added support for model version 0.173.
- Changed the default latest model version to 0.173.
- Fixed compatibility with the new major version of Farady
- Require Faraday 0.12 or later
- Relax dependent version of Faraday to be able to use all 0.x versions.
- Fix build script that was broken due to new major version of rake.
- Assume ConnectorId as a primitive type to be able to decode "connectorId" fields.
- Support multiple model versions
- Added support for model version 0.153.
- Changed the default latest model version to 0.513.
- Added support for :ssl option.
- Upgraded Presto model version to 0.151
- decode method of model classes validate Hash type
- Added support for resuming fetching query results by using new
Query.resume(next_uri, options)
method (@tetrakai++)
- Added support for :http_proxy option to use a HTTP proxy server
- Added support for hashed Client response using
run_with_names
(thanks to MoovWeb for allowing me to contribute) - Upgraded Presto model version to 0.134
- Upgraded Presto model version to 0.99
- Updated gem dependency to accept faraday ~> 0.9.x as well as ~> 0.8.8
- Added support for :properties option to set session properties introduced since Presto 0.78
Added EquiJoinClause model class
- Added StageId#query_id and #id methods
- Added TaskId#query_id, #stage_id and #id methods
- Added Query#current_results, #advance and #query_info for advanced users
- Generate model classes from Presto source code to include complete classes
- Added :time_zone and :language options added by Presto 0.66
- Fixed a problem that client skips the last chunk if result is large
- Added http_debug option
- Disabled HTTP debug logging by default
- Added http_timeout option
- Added http_open_timeout option
- Changed Query.start API to start(query, options) to http options
- Added Query#cancel
- Added Query#close
- Added Client#run
- Changed required_ruby_version from 1.9.3 to 1.9.1
- First release