- Added error_type and error_location field at PrestoQueryError
- 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