-
Notifications
You must be signed in to change notification settings - Fork 0
docs: fix two stale README claims #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14,7 +14,7 @@ Add the crate to your `Cargo.toml`: | |||||||||||
|
|
||||||||||||
| ```toml | ||||||||||||
| [dependencies] | ||||||||||||
| hotdata = "0.1" | ||||||||||||
| hotdata = "0.16" | ||||||||||||
| tokio = { version = "1", features = ["macros", "rt-multi-thread"] } | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
|
|
@@ -29,7 +29,7 @@ By default the crate builds against `native-tls`. To use `rustls` instead: | |||||||||||
|
|
||||||||||||
| ```toml | ||||||||||||
| [dependencies] | ||||||||||||
| hotdata = { version = "0.1", default-features = false, features = ["rustls"] } | ||||||||||||
| hotdata = { version = "0.16", default-features = false, features = ["rustls"] } | ||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| ## Authentication | ||||||||||||
|
|
@@ -193,8 +193,10 @@ Errors from generated operations are returned as `hotdata::Error<T>`; builder | |||||||||||
| and configuration failures are `hotdata::ClientError`. The enhanced `query` | ||||||||||||
| family returns `hotdata::QueryError` — `Overloaded` (429 retries exhausted), | ||||||||||||
| `Submit` (the underlying request failed), `AsyncRequested` (use `submit_query` | ||||||||||||
| for `async` queries), and `Result(ResultError)` for truncation auto-follow | ||||||||||||
| failures (`TooLarge` / `Timeout` / `Incomplete` / …). Result-polling and | ||||||||||||
| for `async` queries), `Async` (the server fell back to asynchronous execution | ||||||||||||
| with a 202; the acknowledgement is passed through), `Poll` (an API error while | ||||||||||||
| polling during auto-follow), and `Result(ResultError)` for truncation | ||||||||||||
| auto-follow failures (`TooLarge` / `Timeout` / `Incomplete` / …). Result-polling and | ||||||||||||
| one-call helpers return `hotdata::AwaitResultError` / `hotdata::QueryToArrowError`. | ||||||||||||
|
Comment on lines
+199
to
200
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. super nit: use this reflow instead of the single-line suggestion above (not blocking). The single-line version leaves
Suggested change
|
||||||||||||
| The SDK's own error enums are `#[non_exhaustive]`, so match them with a wildcard | ||||||||||||
| arm. | ||||||||||||
|
|
@@ -205,7 +207,7 @@ Query results can be fetched as an [Apache Arrow](https://arrow.apache.org/) IPC | |||||||||||
|
|
||||||||||||
| ```toml | ||||||||||||
| [dependencies] | ||||||||||||
| hotdata = { version = "0.1", features = ["arrow"] } | ||||||||||||
| hotdata = { version = "0.16", features = ["arrow"] } | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: the same stale pin survives in That module doc carries |
||||||||||||
| ``` | ||||||||||||
|
|
||||||||||||
| `ArrowResult` hands back `arrow` types, so a crate that names them must depend | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
super nit: this line runs to 86 columns (not blocking). Surrounding prose wraps at 80.